how to open popup menu on clicking of contextmenu of radtreeview node?

2 posts, 0 answers
  1. Mohinder Goswami
    Mohinder Goswami avatar
    24 posts
    Member since:
    Nov 2008

    Posted 01 Jun 2012 Link to this post

    Hi,
    i want to open the new pop up on clicking of contextmenu of radtreeviewnode.
    thanks,
    Mohinder Goswami.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 Jun 2012 Link to this post

    Hi,

    Here is the sample code which I tried based on your scenario.

    ASPX:
    <telerik:RadTreeView ID="RadTreeView1" runat="server" OnClientContextMenuItemClicked="OnClientContextMenuItemClicked" >
                <ContextMenus>
                    <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenu1" runat="server" >
                        <Items>
                            <telerik:RadMenuItem Text="show" ></telerik:RadMenuItem>
                        </Items>
                    </telerik:RadTreeViewContextMenu>
                </ContextMenus>
                <Nodes>
                 ................................
                </Nodes>
    </telerik:RadTreeView>

    JS:
    <script type="text/javascript">
        function OnClientContextMenuItemClicked(sender, args)
        {
            radopen(url, "RadWindow1");
        }
    </script>

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