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

setting PageIndex and PageIndexChange event

1 Answer 69 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 20 May 2011, 09:28 AM
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

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 20 May 2011, 10:06 AM
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
Tags
DataPager
Asked by
Andreas
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or