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

custom radmenuitem issues

1 Answer 67 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
sf
Top achievements
Rank 1
sf asked on 29 Mar 2011, 07:28 AM

hi, in the event of

Page_Load

 I added a custom item:

 

 

RadMenuItem

 

 

manageAccessMenuItem = new RadMenuItem("Open Account");

 

 

manageAccessMenuItem.Value =

 

"OpenAccount";

 

 

 

 

I need to achieve 2 things:
1. on this item click i open a radwindow
2. show or enable this item only for a specific files within some specific folders, hide or disable this when right click on empty area or a folder.

please help
thanks in advance

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 30 Mar 2011, 10:28 AM
Hi,

Please find an example of how to assign command to custom button / context menu in the following help article:
Adding a custom button to the toolbar and an item to the tree context menu

In order to manipulate the state of this custom menu item you can use the RadFileExplorer's OnClientItemSelected client-side event.

Greetings,
Dobromir
the Telerik team
Tags
FileExplorer
Asked by
sf
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or