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

Disable Context Menu on WebService

1 Answer 42 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 2
Markus asked on 06 Dec 2010, 08:13 AM
Hi
I create my treeitems on demand by a web service (RadTreeNodeData). On RadTreeNode is it possible to disable the contextmenue with EnableContextMenu = false. How do i that on a webservice?
Regards Markus

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay Tsenkov
Telerik team
answered on 09 Dec 2010, 12:31 PM
Hi Markus Wenzel,

Well, you can do this on the client-side, handling the ClientContextMenuShowing and canceling the event (args.set_cancel(true)) if the node on which the menu is about to show (args.get_node()) is not supposed to have one.


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TreeView
Asked by
Markus
Top achievements
Rank 2
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or