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

Grid Batch Edit Restore

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rasool
Top achievements
Rank 1
Rasool asked on 11 Apr 2015, 08:57 AM

Hi

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

Sort by
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.

Regards,
Maria Ilieva
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Rasool
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or