Adding your controls to a context menu?

2 posts, 0 answers
  1. Scott Gross
    Scott Gross  avatar
    15 posts
    Member since:
    Feb 2009

    Posted 03 May 2007 Link to this post

    Is there a way to add your controls to a Context menu? My application uses the NotifyIcon Component which links to a Context menustrip.  I would like to be able to add your controls to this.  Or is there a completely different approach?

    Thank you.
  2. Jordan
    Jordan avatar
    547 posts

    Posted 04 May 2007 Link to this post

    Hello Scott,

    We will put a RadContextMenu control in our TODO list.

    For now you can use ContextMenuStrip instead of ContextMenu.

    The following code shows how to add a RadButton to a ContextMenuStrip:
    RadButton radButton = new RadButton();  
    radButton.Text = "RadButton";  
    radButton.ThemeName = "Telerik";  
    ToolStripControlHost controlHost = new ToolStripControlHost(radButton);  
    controlHost.Size = new Size(100, 25);  

    Sincerely yours,
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top