RightClick on a RadPageViewPage

3 posts, 1 answers
  1. Andreas Nebel
    Andreas Nebel avatar
    16 posts
    Member since:
    Jan 2010

    Posted 30 Aug 2011 Link to this post

    Hello,

    how can I get a Right-Click from a RadPageViewPage? The MouseClick-Event only fires, when the User clicks on the Content-Area, not the "Header". And the Mouse-Click-Event from the RadPageView will be fired, but I don't get the clicked Page there.

    I'm using the ExplorerBar-Mode.

    Thank you!
    Andy

  2. Answer
    Stefan
    Admin
    Stefan avatar
    2469 posts
    Member since:
    Sep 2012

    Posted 02 Sep 2011 Link to this post

    Hello Andreas,

    Thank you for writing.

    The following code snippet demonstrates how to subscribe for Click events in both the page content area and the page item:

    //subscribe to the content area click
    radPageViewPage1.Click += new EventHandler(radPageViewPage1_Click);
    //subscribe to the page item click
    radPageViewPage1.Item.Click += new EventHandler(Item_Click);

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
     
    Greetings,
    Stefan
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft Release
  4. Andreas Nebel
    Andreas Nebel avatar
    16 posts
    Member since:
    Jan 2010

    Posted 02 Sep 2011 Link to this post

    That seems to work fine! Thank you!

    Andy

Back to Top