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

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

1 Answer 65 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Suresh
Top achievements
Rank 1
Suresh asked on 02 Jun 2012, 12:00 AM
Hi,
i want to open the new pop up on clicking of contextmenu of radtreeviewnode.
thanks,
Mohinder Goswami.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Jun 2012, 07:02 AM
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.
Tags
TreeView
Asked by
Suresh
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or