Disable Context Menu on WebService

2 posts, 1 answers
  1. Markus
    Markus avatar
    20 posts
    Member since:
    Dec 2009

    Posted 06 Dec 2010 Link to this post

    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
  2. Answer
    Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 09 Dec 2010 Link to this post

    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.

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