ASP.Net MVC: Can you use Data Annotations / Validation with an AJAX / jQuery call? -


can use data annotations / validation ajax / jquery call? if so, please provide example or post shows example.

basically have seen example of how use data annotations, full post back. there way ajax / jquery call? not sure how since not sure how construct model object on client side. (i assume have do.)

someone told me can done, don't understand how can be.

thanks help.

if use html.ajaxform (instead of html.beginform) validate using ajax.

however don't think can validate using jquery. microsoft has it's own ajax libraries , call/maintain themselves. don't think can hook own code in between.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -