This question is locked. New answers and comments are not allowed.
Hi,
I have validation problems when click "update" a row in the grid. The problem is, if I include this file MicrosoftMvcJQueryValidation.js, the field validation such as textbox in a grid no longer works - I'm getting javascript error - formelement is null. If i exclude MicrosoftMvcJQueryValidation.js then the validation works. I then tried to wrap the grid inside a form tag as show below, then include MicrosoftMvcJQueryValidation.js, then a different error appears - validator is null (jquery.validate.js)
<form id="ActivityGridform" action="<%= Url.Action("SaveActivity", "Admin")%>" method="post" >
Html.Telerik().Grid....
</form>
Can you please advise on how to resolve the issues
Thanks
I have validation problems when click "update" a row in the grid. The problem is, if I include this file MicrosoftMvcJQueryValidation.js, the field validation such as textbox in a grid no longer works - I'm getting javascript error - formelement is null. If i exclude MicrosoftMvcJQueryValidation.js then the validation works. I then tried to wrap the grid inside a form tag as show below, then include MicrosoftMvcJQueryValidation.js, then a different error appears - validator is null (jquery.validate.js)
<form id="ActivityGridform" action="<%= Url.Action("SaveActivity", "Admin")%>" method="post" >
Html.Telerik().Grid....
</form>
Can you please advise on how to resolve the issues
Thanks