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

RadGrid Pagination trigger event

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 19 Sep 2011, 01:25 PM
Hello,

I'm trying to move the page of my grid when my page loads. At the moment I'm able to load the correspondent data to the page I want to move, however the pagination control remains always in the page number one.

Any help?

Thanks
Amaro Barros

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Sep 2011, 03:14 PM
Hello Andy,

Try the following code snippet in the Pre-Render event.
C#:
protected void RadGrid1_PreRender(object sender, EventArgs e)
   {
       RadGrid1.MasterTableView.CurrentPageIndex = 3;
       RadGrid1.Rebind();
   }

Thanks,
Princy.
Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or