This is a migrated thread and some comments may be shown as answers.
grid validation doesn't work
0 Answers 32 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
telaron
Top achievements
Rank 1
telaron asked on 08 Apr 2010, 01:45 AM
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
Tags
Grid
Asked by
telaron
Top achievements
Rank 1
Share this question
or