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

Paging through Item Command Event

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 18 Mar 2009, 03:55 PM
I am trying to capture all the paging events through the OnItemCommand Event. Currently, I can successfully read the following:

1. Next Page: CommandName = "Page", CommandArgument = "Next"
2. Next Pages: CommandName = "Page", CommandArgument = [Page #]
2. Last Page: CommandName = "Page", CommandArgument = "Last"
3. Specific Page: CommandName = Page", CommandArgument = [Page #]

I cannot capture the Previous pages. They all seem to have an empty CommandName and CommandArgument. How do I capture the Previous Page, Previous Pages, and First Pages events?

Version 311

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 23 Mar 2009, 10:37 AM
Hi Dennis,

I tested the setup which you described, and the control behaved as expected.
Attached to this message, you will find the project which I used for testing. Take a look at it and let me know if this is the expected behavior, or if I am leaving something out.

Best wishes,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Dennis
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or