Thank you for writing.
To achieve your requirement, you can subscribe to the SelectedPageChanging
event. Its event arguments provide the page that is about to be selected and you can get the old selected page from the SelectedPage
property of RadPageView
since at the moment of firing the SelectedPageChanging
event the SelectedPage
has not yet been changed. The following code snippet demonstrates this:
sender, RadPageViewCancelEventArgs e)
"Changing from "
" to "
As to the PageIndexChanged
event, this event is fired when a specific page changes its position amongst the other pages. It should not fire when just changing the selected page.
I hope this will help you.
A bit off topic, I would like to remind you that your trial support package has expired. If you would e to continue receiving support from us, you will have to consider a purchase of some of the licenses that we offer. At this link - http://www.telerik.com/purchase.aspx
- you can find the available options. These licenses come with Dev priority support where the tickets should be answered in a guaranteed period of time. Shortly said, we will provide you with quicker responses.
Feel free to ask if you have any additional questions.
the Telerik team