If I want to use a jquery dialog in order to display an error message submited from a .net mvc controller action, what I have to do? could you give me an example?
thanks a lot for helping!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
in the controller i’d be setting a value of a hidden field and checking that with jquery and if you find that you need to show it then show it and reset the hidden field value.
Don’t forget that the value needs to be part of the model you pass back to the view. For this you would need to implement a FormViewModel I think.