The main advantage is that you provide a "form context" to all input controls contained in the form. Without a form context no validation logic is automatically applied to the form on the server side. Thus, if you parse new ajax content for validation ...nothing
happens. However you can provide manually the form context in your View, or by writing an ad hoc ViewResult
Othere minor advantages are that it a little bitless code to write and less chnces to write something wrong. I computes the link automatically based on the action method name etc.
Sorry i came among this post again !!! , in the above quote you were talking about the advantages of of Ajax.actionlink and NOT the advantages of JQuery!!
johnjohn1231...
Participant
922 Points
871 Posts
Re: Ajax.BeginForm Verus using javascript and Json to implement a search
Jul 24, 2011 03:17 AM|LINK
Sorry i came among this post again !!! , in the above quote you were talking about the advantages of of Ajax.actionlink and NOT the advantages of JQuery!!
BR