contextmenu

4 posts, 0 answers
  1. geetha priya
    geetha priya avatar
    25 posts
    Member since:
    May 2010

    Posted 27 Jan 2011 Link to this post

    Hi
    i am using context menu in my radtreeview.i can able to get the menu items text in client side. but i want to get the sub menu items text. 
    how can i get the sub context menu items text in client side.

    regards,
    geetha.
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 27 Jan 2011 Link to this post

    Hi geetha priya,

    You can find the sub menu items text by using similar code to this:

    function OnClientContextMenuItemClicked(sender, eventArgs) {
                var item = eventArgs.get_menuItem();
      
                var child = item.get_items().getItem(0).get_text();
                alert(child);
            }

    Please let me know if you have further questions.

    Greetings,
    Veronica Milcheva
    the Telerik team
    Browse the vast support resources we have to jump start 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.
  3. geetha priya
    geetha priya avatar
    25 posts
    Member since:
    May 2010

    Posted 27 Jan 2011 Link to this post

    Hi
    thanks for ur reply. 
    from this i can able to get the sub context menu name, but i want to hide the subcontext menu in one node and want to show it for another node.
    how can i do this?

    regards,
    geetha.
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 31 Jan 2011 Link to this post

    Hello geetha priya,

    Could you please be more specific on the requirement "i want to hide the subcontext menu in one node and want to show it for another node"?

    All the best,
    Veronica Milcheva
    the Telerik team
    Browse the vast support resources we have to jump start 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