Context Menu

3 posts, 0 answers
  1. Alan
    Alan avatar
    14 posts
    Member since:
    Jan 2007

    Posted 25 Jan 2012 Link to this post

    Is there a right click/context menu available for the Rich text box?  If so where can I find the documentation?

  2. Jack
    Jack avatar
    2333 posts

    Posted 27 Jan 2012 Link to this post

    Hi Alan,

    RadRichTextBox has no default context menu attached. However, you can add one with a few lines of code by handling the MouseDown event. Here is a sample:
    RadDropDownMenu menu = new RadDropDownMenu();
    menu.Items.Add(new RadMenuItem("Item 1"));
    menu.Items.Add(new RadMenuItem("Item 2"));
    menu.Items.Add(new RadMenuItem("Item 3"));
    this.radRichTextBox1.MouseDown += new MouseEventHandler(radRichTextBox1_MouseDown);
    void radRichTextBox1_MouseDown(object sender, MouseEventArgs e)
        if (e.Button == System.Windows.Forms.MouseButtons.Right)


    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

  3. Chris Ward
    Chris Ward avatar
    56 posts
    Member since:
    Jan 2010

    Posted 18 Sep 2012 Link to this post

    I found this solution quite useful, thanks Jack!
Back to Top