Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PageView > RightClick on a RadPageViewPage

Answered RightClick on a RadPageViewPage

Feed from this thread
  • Andreas Nebel avatar

    Posted on Aug 30, 2011 (permalink)

    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

    Reply

  • Answer Stefan Stefan admin's avatar

    Posted on Sep 2, 2011 (permalink)

    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 >>

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Andreas Nebel avatar

    Posted on Sep 2, 2011 (permalink)

    That seems to work fine! Thank you!

    Andy

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PageView > RightClick on a RadPageViewPage