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

Clear all previous grid events

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 11 Mar 2016, 07:02 AM
I have implemented server side grid and I can see previous grid events like sorting columns, paging events like page index change page size are retaining even after new data bind. I want to clear all the previous events using one method when i do a fresh databind instead of using separate expressions for clearing each event.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 15 Mar 2016, 10:49 AM
Hi,

If you are using NeedDataSource event for binding the grid, after applying the new data and call Rebind() for the control all the previously applied settings should be reset.

Regards,
Maria Ilieva
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
S
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or