Paging through Item Command Event

2 posts, 1 answers
  1. Dennis
    Dennis avatar
    62 posts
    Member since:
    Oct 2007

    Posted 18 Mar 2009 Link to this post

    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
  2. Answer
    Yavor avatar
    11 posts

    Posted 23 Mar 2009 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top