RadGrid change page based on time interval

3 posts, 0 answers
  1. Samantha
    Samantha avatar
    21 posts
    Member since:
    Apr 2009

    Posted 18 Oct 2011 Link to this post

    I have a RadGrid with multiple pages (or could be a single page) based on the number of values being displayed on the grid.  I would like the grid to automatically move on to the next page after 60 seconds.  When it reaches the last page, it should go back to the first page. 

    I have been searching the forums for something of this nature but I haven't found anything yet.  Has anyone tried to do this?
  2. Samantha
    Samantha avatar
    21 posts
    Member since:
    Apr 2009

    Posted 20 Oct 2011 Link to this post

    Anyone?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 21 Oct 2011 Link to this post

    Hi Samantha,

    You can use an ASP:Timer for that purpose. In the Timer Tick event handler, change the CurrentPageIndex of the grid and rebind it. If the CurrentPageIndex becomes greater than the page count, reset it to 0.

    Give it a try and let me know if any issues arise.

    All the best,
    Iana Tsolova
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top