I have this code that i got from clay that will get rid of context menus on the grids. It only seems to work for grids with currency cells. If I try to change this code to work on OriginalTextBox cells it blows up. Is there a way u can turn off the right click menu for the grid in general regardless of if columns have diff cell types???
Dim c As Control = Me.grdInitCredInv.CellRenderers("Currency").Control
c.ContextMenu = New ContextMenu
ADAdministrator Syncfusion Team July 14, 2004 12:51 PM
If you want every control in teh grid to have an empty contextmenu, you could try subscribing to the grid.ControlAdded event and setting the context menus there.
this.gridControl1.ControlAdded += new ControlEventHandler(gridControl1_ControlAdded);