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

RadGrid change page based on time interval

2 Answers 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Samantha
Top achievements
Rank 1
Samantha asked on 18 Oct 2011, 03:24 PM
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 Answers, 1 is accepted

Sort by
0
Samantha
Top achievements
Rank 1
answered on 20 Oct 2011, 03:58 PM
Anyone?
0
Iana Tsolova
Telerik team
answered on 21 Oct 2011, 03:05 PM
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
Tags
Grid
Asked by
Samantha
Top achievements
Rank 1
Answers by
Samantha
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or