Header contextMenu and ContextMenu

3 posts, 0 answers
  1. Blas
    Blas avatar
    56 posts
    Member since:
    Dec 2007

    Posted 24 Feb 2012 Link to this post

    Hello

    Does anyone know how I can avoid to open a contextmenu when the Header Contextmenu of a Gridview is opened?

    Here is a picture of what's happening.


    Regards
    Roberto
  2. Stefan
    Admin
    Stefan avatar
    2906 posts

    Posted 29 Feb 2012 Link to this post

    Hello Roberto,

    Thank you for writing.

    I assume that you have assigned a ContextMenu to the Form, which gets opened together with the grid's context menu. If so, what I can suggest is to use RadContextMenu for the form, which will get opened when the form is clicked and it will remain closed when the grid is clicked. Furthermore, your context menus will look consistent. Information how to add RadContextMenu to the form can be found here: http://www.telerik.com/help/winforms/menus-context-menu-assign-radcontextmenu-to-telerik-and-non-telerik-controls.html.

    I hope that this information addresses your question. Should you have any other questions, do not hesitate to contact us.
     
    Kind regards,
    Stefan
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. Blas
    Blas avatar
    56 posts
    Member since:
    Dec 2007

    Posted 05 Mar 2012 Link to this post

    Hi Stefan

    Thank you very much for your help. That was the problem!!

    Regards
    Roberto
Back to Top