Read this article in your language IT | EN | DE | ES
I discovered the JQuery Validate plugin a while back and could never get it to work in ASP.NET until today and though I have no idea why this the code bellow does not work.
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
<CompositeScript>
<Scripts>
<asp:ScriptReference Path="~/Assets/Javascript/jquery.validate.pack.js" />
Scripts>
CompositeScript>
asp:ScriptManagerProxy>
If the extension is in the <CompositeScript> section it does not work, I will try to figure out why later but if it is removed from the <CompositeScript> it start to work again.
So the resultant code will look like this:
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/Assets/Javascript/jquery.validate.pack.js" />
Scripts>
asp:ScriptManagerProxy>
I honestly say that the
JQuery Validate plugin is the best validation package I have come across in a while, go and get it.