RadListControl and Right Mouse Click Events

6 posts, 0 answers
  1. Robert
    Robert avatar
    23 posts
    Member since:
    Feb 2009

    Posted 07 Jun 2011 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 10 Jun 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Victoria F
    Victoria F avatar
    46 posts
    Member since:
    May 2010

    Posted 22 Aug 2011 Link to this post

    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.
  5. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 25 Aug 2011 Link to this post

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

  6. Victoria F
    Victoria F avatar
    46 posts
    Member since:
    May 2010

    Posted 11 Oct 2011 Link to this post

    Thank you Stefan.
    I just had a chance come back to this now.

    Victoria.
  7. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 14 Oct 2011 Link to this post

    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.

Back to Top
UI for WinForms is Visual Studio 2017 Ready