I have a partial view which is loaded by Ajax Jquery.
In my partial view i have Ajax.BeginForm with textbox and submit button.
But i see that RemoteValidaiton method doesn’t get fired.
abhi0410
But i see that RemoteValidaiton method doesn’t get fired.
Hello Abhi,
Please check whether the unobstructivejavascriptenabled is true or not ?
<appSettings> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> </appSettings>
http://msdn.microsoft.com/en-us/library/gg508808(VS.98).aspx
i have all those enabled. Actually my validation fires when i submit button and i do get Error message attached to Required attribute.
then what is the issue ?
Sorry it was my mistake. I had written a wrong controller name in attribute of remote validation.