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

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

3 Answers 141 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Audrey Cheng
Top achievements
Rank 1
Audrey Cheng asked on 08 Feb 2011, 07:17 AM
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

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Feb 2011, 12:17 PM
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.
0
Audrey Cheng
Top achievements
Rank 1
answered on 10 Feb 2011, 02:53 AM
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
0
Dobromir
Telerik team
answered on 15 Feb 2011, 10:25 AM
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.
Tags
FileExplorer
Asked by
Audrey Cheng
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Audrey Cheng
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or