This is a migrated thread and some comments may be shown as answers.

Header contextMenu and ContextMenu

2 Answers 116 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Blas
Top achievements
Rank 1
Blas asked on 24 Feb 2012, 01:21 PM
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 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 Feb 2012, 12:12 PM
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 >>
0
Blas
Top achievements
Rank 1
answered on 05 Mar 2012, 01:56 PM
Hi Stefan

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

Regards
Roberto
Tags
GridView
Asked by
Blas
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Blas
Top achievements
Rank 1
Share this question
or