I have a Grid with batch edit mode .The user fill grid rows then press save button.Then a valdation occurs on server side for code duplication chek .How we can restore grid rows(items) after postback and validation fails?
Thanks very much.
1 Answer, 1 is accepted
0
Maria Ilieva
Telerik team
answered on 15 Apr 2015, 08:38 AM
Hi Rasool,
Batch editing is a client-side oriented mode and the changes made by the user will be lost on postback. This behavior could not be changed and if you need any custom validation you should perform it on client-side or implement custom logic for persisting the changes on postback and apply it back to the grid, once the request ends, but it will be almost impossible to handle all scenarios, so highly recommend that you use other edit mode if the server validation is mandatory.