want to change order displaying context menu items in the file explorer

4 posts, 0 answers
  1. Audrey Cheng
    Audrey Cheng avatar
    2 posts
    Member since:
    Sep 2009

    Posted 08 Feb 2011 Link to this post

    Hi

    i am using File Explorer control. i want to change the order of default functional menu items (Open,Delete,Rename) and as well as add new custom menu item to Context Menus. i want to do this for Treeview,Grid Context Menus in the File Explorer Control.

    Whether it is possible. and send me sample Code. 

    Thanks

    Thanks
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 08 Feb 2011 Link to this post

    Hello,


    I hope the following links would shed some light on achieving the required.
    Accessing the Toolbar and Context Menus
    Custom field in the GridContextMenu


    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Audrey Cheng
    Audrey Cheng avatar
    2 posts
    Member since:
    Sep 2009

    Posted 09 Feb 2011 Link to this post

    Thanks for your reply.

    i read the post.. but my problem is differnet i think. i created File Explorer Context Menu from Server Side. after that i want to control appearance by show/hide from Client Side. 

    I used the FileExlporer1.GridContextMenu.Items.Add(); and FileExlporer1.GridContextMenu.Items.Insert().

    The Add() function only add after the default options. Can you give me some example about the adding context menus and changing the order default menu options.

    Thanks
  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 15 Feb 2011 Link to this post

    Hi Audrey,

    It is not possible to change the order of the default context menus of RadFileExplorer. However, you can use one of the following approaches to achieve the required result:

    Kind regards,
    Dobromir
    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