Hi guys,
I'm not an "UI guys" than be tolerant :) In an ASP.NET MVC application. I have to buttons "Save" and 'Cancel". In the "Save", I have POST $.Ajax .... I'd like if I have an exception (CanClose set to false) but avoid the close of the dialog (I display an error message). I do correction on data, "Save" again, check and Save .... if ok close dialog.
Look at the code : http://pastebin.com/f6ed0d14a
Thanks for your help,