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

RightClick on a RadPageViewPage

2 Answers 125 Views
PageView
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 30 Aug 2011, 01:38 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 02 Sep 2011, 12:41 PM
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 >>

0
n/a
Top achievements
Rank 1
answered on 02 Sep 2011, 01:59 PM
That seems to work fine! Thank you!

Andy
Tags
PageView
Asked by
n/a
Top achievements
Rank 1
Answers by
Stefan
Telerik team
n/a
Top achievements
Rank 1
Share this question
or