setting PageIndex and PageIndexChange event

2 posts, 0 answers
  1. Andreas
    Andreas avatar
    1 posts
    Member since:
    May 2011

    Posted 20 May 2011 Link to this post

    Hi,

    whe i change the PageIndex of the DataPager (this.RadDataPager1.PageIndex++;) the event PageIndexChanged will not be fired.
    Is this a known bug?

    regards
    Andreas
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 20 May 2011 Link to this post

    Hello Andreas,

    I believe this behavior is by design . The event is intended to notify when the page was changed by the UI .

    I may offer you a workaround  which I hope is applicable to your case.
    You may try using the RadDataPager.PagedSource.PageChanged event instead of RadDataPager.PageChanged.

    Let me know in case this does not do the trick , so we can think of another approach.

    Kind regards,
    Pavel Pavlov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top