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

Action to return on server side validation failure

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 2
Anthony asked on 07 Aug 2012, 01:28 PM
When the ModelState returns errors to the datasource object, how does one find the grid row where the error occurred and then set it to edit mode? Thanks for any help.

-Tony

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Aug 2012, 12:51 PM
Hello Tony,

You can put the row in edit mode by using the editRow method. To find the row that was being edited, you could either save it in the edit event or return the ID as error and search for the row with the same ID.

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Anthony
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Share this question
or