RadGrid Context Menu

2 posts, 1 answers
  1. Shahi
    Shahi avatar
    17 posts
    Member since:
    Apr 2013

    Posted 04 Apr 2013 Link to this post

    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

  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 Apr 2013 Link to this post

    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
Back to Top