Hi
I am wanting to show the context menu I get when I right click, when I also hit enter on a selected row. I have captured the ENTER keypress, but can't fire off the context menu.
I was trying:
function RadGrid1_OnKeyPress(sender, eventArgs)
{
switch(eventArgs.get_keyCode())
{
case 13:
var ctmProducts = $find('<%=ctmProducts.ClientID %>');
ctmProducts.show(eventArgs);
eventArgs.set_cancel(true);
break;
}
}
I am wanting to show the context menu I get when I right click, when I also hit enter on a selected row. I have captured the ENTER keypress, but can't fire off the context menu.
I was trying:
function RadGrid1_OnKeyPress(sender, eventArgs)
{
switch(eventArgs.get_keyCode())
{
case 13:
var ctmProducts = $find('<%=ctmProducts.ClientID %>');
ctmProducts.show(eventArgs);
eventArgs.set_cancel(true);
break;
}
}
Any pointers / thoughts welcome
Cheers
Simon