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

Setting pageing page to be one after search

1 Answer 23 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
A2H
Top achievements
Rank 1
A2H asked on 07 Oct 2010, 09:23 AM
HI all,
I have a requirement.
I have a radgrid and paging with size 5 is enabled.If i got to 5 th page and do a search .I want the the page to set back to 1.

In one shot qs is how i can set the page to a specific number in paging.

Thanks,
A2H

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 07 Oct 2010, 10:16 AM
Hello,


Set the CurrentPageIndex property accordingly to go to specific page in grid.

Code sample:
RadGrid1.MasterTableView.CurrentPageIndex = 3;
RadGrid1.MasterTableView.Rebind();


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