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

How programmatically to change the current page

1 Answer 187 Views
Grid
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
Iron
miksh asked on 31 Jul 2008, 07:32 PM
When a user changes a number of records to display I need to reset the current page index to 0. How can I do it at the server side?

1 Answer, 1 is accepted

Sort by
0
Sean
Top achievements
Rank 2
answered on 31 Jul 2008, 09:20 PM

Hi miksh,

Justr set the CurrentPageIndex = 0;

For example:

protected

void UserUpdatedCountRequest(object sender, EventArgs e)
{
    RadGrid1.CurrentPageIndex = 0;
}

Tags
Grid
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Sean
Top achievements
Rank 2
Share this question
or