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

[Solved] RadGrid Context Menu

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shahi
Top achievements
Rank 1
Shahi asked on 05 Apr 2013, 02:14 AM

Hi

I have a RadGrid populated with sql datasource. I want to display a context menu on right clicking the rows.

what events I need to use and any sample code will be a great help....

Thanks
Shahi

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 05 Apr 2013, 05:31 AM
Hi,

Try the following javascript to show context menu on right clicking the row.
JS:
function RowContextMenu(sender, eventArgs)
{
   var menu = $find("<%=RadMenu1.ClientID %>");
   var evt = eventArgs.get_domEvent();
   menu.show(evt);
}

Thanks,
Shinu
Tags
General Discussions
Asked by
Shahi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or