handle right click on RadButtonElement ?

2 posts, 0 answers
  1. Mahdi
    Mahdi avatar
    1 posts
    Member since:
    Oct 2011

    Posted 28 May 2012 Link to this post

    hi dears,
    please help me , how can i handle right click on a RadButtonElement ?
  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 31 May 2012 Link to this post

    Hi Mahdi,

    Thank you for your question.

    You can subscribe to the MouseDown event or the button and handle it the following way:
    void radButtonElement1_MouseDown(object sender, MouseEventArgs e)
        if (e.Button == System.Windows.Forms.MouseButtons.Right)
            //do something

    I hope this will help you. If you have any additional questions, feel free to ask.

    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top