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

[Solved] ClientSide - Get current page number ?

2 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pat
Top achievements
Rank 1
Pat asked on 23 Feb 2011, 05:43 PM
I want to refresh/reload the grid from the client and I can get the grid.pageTo() to work.  But I'd like to stay on the current page.

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 24 Feb 2011, 08:30 AM
Hello pat,

If you are using grid populated through ajax binding, you may use either ajaxRequest or rebind. If you are using server binding, then you will need to refresh the whole page for example by setting window.location.href to the current Url.

Best wishes,
Rosen
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Pat
Top achievements
Rank 1
answered on 24 Feb 2011, 07:25 PM
Thanks, even though this is not giving me the current page number, this worked. Just the grid refreshed and stayed on the current page.
Tags
Grid
Asked by
Pat
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Pat
Top achievements
Rank 1
Share this question
or