Where in designer is the Click event hiding?

12 posts, 0 answers
  1. Dave
    Dave avatar
    10 posts
    Member since:
    Jan 2005

    Posted 13 Jun 2011 Link to this post

    I have a RadContextMenu with a half-dozen items; I cannot for the life of me find the events for menu items.  I'm in the "RadItem Collection Editor", and my six menu items are listed, but I have ONLY properties (Accessibility, Appearance, Behavior, etc) on the right.  There is no "Events" lightning bolt in the property editor toolbar.

    There ARE events for the RadContextMenu itself, but only for "DropDownClosed/Closing/Opened/Opening".  So how do I, in the designer, set the handler for a context menu's menuitem click event?


    (VS 2010 SP1)
  2. Jack
    Jack avatar
    2333 posts

    Posted 15 Jun 2011 Link to this post

    Hi Dave,

    You cannot attach to an event when using a collection editor. You can do this only from the property grid pane. To do this, show the property grid pane and then select a menu item by navigating to the drop-down list of the property grid. Then select the events page in the property grid. There you will find listed all events supported by RadMenuItem.

    I hope this helps. If you need further assistance, do not hesitate to contact us.
    Best wishes,
    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. Brian Bates
    Brian Bates avatar
    3 posts
    Member since:
    Aug 2006

    Posted 03 May 2012 Link to this post

    Thanks, I needed help on this too.  This little tip should probably be added to the documentation.  : )
  4. Friedhelm
    Friedhelm avatar
    9 posts
    Member since:
    Jul 2012

    Posted 07 Aug 2012 Link to this post

    I don't found this event too.
    So I would agree to add this to the documentation!

    A better solution would be the visual way as implementet by Microsoft for the ContextMenuStrip.
    Best regards
  5. Stefan
    Stefan avatar
    2902 posts

    Posted 10 Aug 2012 Link to this post

    Hello Friedhelm,

    Thank you for writing.

    You can find the events of the items in RadContextMenu by selecting the desired item in the Properties window of Visual Studio and then by double clicking the desired event there - see the attached image in Jack's post. Alternatively, you can subscribe to the desired events in code:
    radMenuItem1.Click += new EventHandler(radMenuItem1_Click);
    void radMenuItem1_Click(object sender, EventArgs e)

    Thank you for your suggestion regarding the design time of RadContextMenu. If we receive more requests about the same, we will consider its implementation.
    All the best,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  6. Henrik
    Henrik avatar
    23 posts
    Member since:
    Feb 2012

    Posted 03 Sep 2014 in reply to Stefan Link to this post

    I too was struggling to find this solution..
    Please add it to the documentation (the first place most people would look, I think)
  7. Stefan
    Stefan avatar
    2902 posts

    Posted 03 Sep 2014 Link to this post


    One of the last steps of the Getting Started article shows how to subscribe to the Click event of a menu item. Here is a quote:
    - Go to the Design View of the form and select the 'New' menu item.
    - In the Properties window, click the events toolbar button.
    - Double-click the Click event.

    Do you guys think this would suffice or you need it explained someplace else?

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  8. Robert Gray
    Robert Gray avatar
    4 posts
    Member since:
    Feb 2009

    Posted 09 Mar 2016 in reply to Stefan Link to this post

    Stefan, unfortunately that doesn't work with context menus.
  9. Dess
    Dess avatar
    1937 posts

    Posted 10 Mar 2016 Link to this post

    Hello Robert,

    Thank you for writing.

    Please refer to the attached sample video (drag and drop over the browser to play it) demonstrating how to subscribe to the Click event of a RadContextMenu's item.

    I hope this information helps. Should you have further questions I would be glad to help.
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  10. Matthias
    Matthias avatar
    2 posts
    Member since:
    Aug 2015

    Posted 14 Mar Link to this post

    Hello guys,

    I am sorry, but the assigned video shows nothing. The problem is, that when selecting the radContextMenu1 in the properties window in Visual Studio just Dropdown events are shown as Dave has described in his post.

    Best regards.


  11. Matthias
    Matthias avatar
    2 posts
    Member since:
    Aug 2015

    Posted 14 Mar in reply to Matthias Link to this post

    Sorry. Now I got the point. Under the radContextMenu there is a radMenuItem. OMG I didn't see that.

    Best regards, Matthias

  12. Dess
    Dess avatar
    1937 posts

    Posted 15 Mar Link to this post

    Hello Matthias, 

    Thank you for writing back. 

    I am glad that the provided video was useful. If you have any additional questions, please let me know. 

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top