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

Unobtrusive validation with InLine edit mode

1 Answer 150 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 30 Jul 2012, 10:40 PM
When doing an inline edit in a grid, unobtrusive validation doesn't work (I have only tried inline mode so far). I know the older telerik grid would wrap the grid in a form element, but I'm not sure if this is the only reason the validation doesn't work or if it manually occurred under the hood. My input elements in edit mode are getting correct data-val-* attributes but they aren't being evaluated on the client prior to adding/editing.

Any feedback would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 1
answered on 31 Jul 2012, 03:09 PM
Ok, I didn't realize that the grid uses kendo validator instead. And the kendo.aspnetmvc.js file maps the model attributes appropriately. Things seem to be working fine now.
Tags
Grid
Asked by
Adam
Top achievements
Rank 1
Answers by
Adam
Top achievements
Rank 1
Share this question
or