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

Set Page Index And OnPageIndexChanged

1 Answer 128 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Michel Laforce
Top achievements
Rank 1
Michel Laforce asked on 04 Sep 2011, 03:22 AM
RadDataPager version  : 2010.2.713.35

http://demos.telerik.com/aspnet-ajax/datapager/examples/raddatapagerintegration/defaultcs.aspx

OnPageIndexChanged="RadDataPager1_PageIndexChanged"

I can see this in the example but this event does not exist for me.

Plus when I do a search, I want to set the page index to 0, how can I do this, the seems to be not method or property exept

StartRowIndex

wich is read only.

Thanks

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 07 Sep 2011, 03:23 PM
Hi Michel,

This is so because the event was not available in this version of the control. You could upgrade to the latest version of RadControls if you need to use it.

As for setting the PageIndex, have you tried firing a page command through the FireCommand method of the control?
http://www.telerik.com/help/aspnet-ajax/datapager-properties-and-methods.html

Regards,
Tsvetina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
DataPager
Asked by
Michel Laforce
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or