Hi,
I have a page that has two RadGrids on the form and a RadContextMenu.
I added a tagname target of thead, but really only want it to show for one of the grids. So i have separate OnColumnContextMenu client functions for the grids, one that tracks which column the menu was opened from, the other that (i'm hoping) will hide the context menu.
I would set the target to the control id of the grid I want to enable the context menu on, but I dont want it to be available when clicking on rows in the grid.
this does not seem to work and eventArgs.set_cancel(true) is not an option either.
Any ideas/solutions would be appreciated.
Thanks
I have a page that has two RadGrids on the form and a RadContextMenu.
I added a tagname target of thead, but really only want it to show for one of the grids. So i have separate OnColumnContextMenu client functions for the grids, one that tracks which column the menu was opened from, the other that (i'm hoping) will hide the context menu.
I would set the target to the control id of the grid I want to enable the context menu on, but I dont want it to be available when clicking on rows in the grid.
function
HideContextMenu(sender, eventArgs)
{
return false;
}
this does not seem to work and eventArgs.set_cancel(true) is not an option either.
Any ideas/solutions would be appreciated.
Thanks