This is a migrated thread and some comments may be shown as answers.

[Solved] Grid Ajax Binding and Validation

0 Answers 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 1
Andrew asked on 22 Sep 2010, 09:07 AM
I struggled a little yesterday to get an Ajax bound grid to respect validation. The samples appeared to work but my grid didn't appear to validate input at all, I was mostly testing in FF, when I switched to IE I started getting script errors. 

It appears that if you include ~/Scripts/MicrosoftAjax.js & ~/Scripts/MicrosoftMvcValidation.js then this breaks the Telerik Grid validation (with Ajax binding at least). As these were in my Site.Master I simply created a second master page for grid based pages that excluded these scripts (Using hierarchical master pages would probably be better in the long term)

If there is  a better workaround please let me know, otherwise I hope this info helps others who may be struggling to get validation to work in ajax bound grids.

Andrew
Tags
Grid
Asked by
Andrew
Top achievements
Rank 1
Share this question
or