show contextmenu on radtreeview

2 posts, 0 answers
  1. Sigma
    Sigma avatar
    87 posts
    Member since:
    Apr 2012

    Posted 14 Jan 2013 Link to this post

    how to show contextmenu on radtreeview when user left click on it?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Jan 2013 Link to this post

    Hi Sigma,

    You can achieve this by calling the the show method explicitly OnClientNodeClicking event. Here is the code that I tried.

    function OnClientNodeClicking(sender, args)
            var e=args.get_domEvent();
            var menu = $find("<%=menu1.ClientID %>");
            if ((!e.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), e.relatedTarget)))

    Hope this helps.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top