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

Getting the grid to start at page 1 after paging

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brendan Vogt
Top achievements
Rank 1
Brendan Vogt asked on 03 Aug 2010, 10:44 AM
Hi,

I have a grid on my web page.  I also have a button above the grid.  The grid displays all my news items, enabled and disabled items.  When I click on the button it either shows the enabled items, or all the items.  Let say the grid loads the first time then it loads all the news items.  I would scroll 1 or 2 pages.  The I would click the button to display only the enabled items.  Then it gets all the enabled items, but the grid does not display items from page 1, but it is still where the previous paging stopped.  How do I get it to start at page 1 again?

Thanks
Brendan

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 05 Aug 2010, 08:45 AM
Hi Brendan,

You can use the CurrentPageIndex property of the Grid to specify which page should be displayed when the button is clicked.

Sincerely yours,
Pavel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Brendan Vogt
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or