0

How to invoke Form Validation Javascript methods before submitting ASP.NET MVC view?

1
  • Found many answers regarding my Query but all of them are using MicrosoftMvcJQueryValidation.js. I am using Jquery version 1.4.4 .. Dont know if it is compatible with MicrosoftMvcJQueryValidation.js...I cannt find Form.Validate() method .. it is coming out to be null and giving me an error Commented Aug 5, 2011 at 12:21

1 Answer 1

1

this is guide to client side validation.

http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspx

and when you complete the file check what is generated for you. this will be nice start for you.

hope this helps.

Sign up to request clarification or add additional context in comments.

2 Comments

Explanation given in above link also uses MicrosoftMvcJQueryValidation.js so it is not going to be useful for me ....
This has all the relevant java script in there generated and this could be base on how to do this... check following link: stackoverflow.com/questions/61456/mvc-net-jquery-validation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.