jQueryUI Dialog + MVC Login - Don't close if unsuccessful?
Hello all,
I've new to both ASP.NET MVC and jQuery stuffs. I'm using the jQueryUI dialog to displays the built-in MVC login form (load the form like an iframe content.)
How can I keep the dialog opened upon unsuccessful login? (wrong user/pass, etc...)? Right now when the user click the Login button, it closes the Dialog and redirect to either "success" page (if valid) or redirect to the login page again, but I would like it to not redirect and close the dialog upon unsuccessful login.
Thank you,
Kenny.