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

RadListControl and Right Mouse Click Events

5 Answers 114 Views
ListControl
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 07 Jun 2011, 07:48 PM
I'm using 2011 Q1's RadListControl, and it doesn't seem to want to respond to right clicks.

I'm listening for MouseClick, but only left button mouse clicks are captured.

5 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Jun 2011, 11:04 AM
Hi Robert,

Thank you for writing.

I have tested the MouseClick event and on my end everything works as expected - it is fired for both left and right mouse buttons. Please refer to the attached video.

Should you continue experiencing such an issue, please provide me with your project, so I can investigate it locally and provide you with adequate support.

I am looking forward to your reply.
 
Regards,
Stefan
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Victoria F
Top achievements
Rank 1
answered on 22 Aug 2011, 10:47 PM
Actually , I have the same issue.

For all RadDropDownList controls that I have Right and Left clicks are working the same way.
The effect of pressing Right Mouse click on the RadDropDownList is just the list got opened and showing all values in the dropdown box.
So as I understand the behavior for Right and Left mouse click events is the same. 
The control disregarded that I specified a context menu strip.
How can I make Right click work or how can I force opening a Context menu on the right click event?

Actually I tried to work around using context menu ... because I can not clear the field(RadDropDownList control).

How can I clear the value of drop down box if I once choose some value from dropdown , change my mind and  want to make the field clear as it was initially?

Thank you ,
Victoria.
0
Stefan
Telerik team
answered on 25 Aug 2011, 11:28 AM
Hi Victoria,

Thank you for writing.

Indeed, the default behavior of RadDropDownList is to open on both Left and Right mouse button clicks. However, this behavior can be easily changed. Please refer to the attached project where, you can find out how to open the drop down only on left mouse click and also how to show context menus on right mouse click. 

Regarding the second part of your post, the provided information was not enough for me to determine your scenario. Here is what I do not understand:

1. Actually I tried to work around using context menu ... because I can not clear the field(RadDropDownList control).
-
Which field are you trying to clear?

2. How can I clear the value of drop down box if I once choose some value from dropdown , change my mind and  want to make the field clear as it was initially?
- Do you want to clear the control Value or the text appearing in the editable area of the control, when you select an item from the drop down?
- Which field you want to clear as it was initially? Do you mean the Value or the Text?

I am looking forward to your reply.
 
All the best,
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
Victoria F
Top achievements
Rank 1
answered on 11 Oct 2011, 08:34 PM
Thank you Stefan.
I just had a chance come back to this now.

Victoria.
0
Stefan
Telerik team
answered on 14 Oct 2011, 09:44 AM
Hello Victoria,

Let me know if you need anything else.

Best wishes,
Stefan
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Tags
ListControl
Asked by
Robert
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Victoria F
Top achievements
Rank 1
Share this question
or