Clear all previous grid events

2 posts, 0 answers
  1. S
    S avatar
    1 posts
    Member since:
    Nov 2015

    Posted 11 Mar Link to this post

    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.
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Mar Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top