Set Page Index And OnPageIndexChanged

2 posts, 0 answers
  1. Michel Laforce
    Michel Laforce avatar
    10 posts
    Member since:
    Apr 2010

    Posted 03 Sep 2011 Link to this post

    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

  2. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 07 Sep 2011 Link to this post

    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 >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top