Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to disable the following item1 in the ContextMenu. But I din't find any relevant property for it in intellisense.

Telerik.WebControls.RadTreeViewContextMenu.ContextMenu contextMenu1 = new Telerik.WebControls.RadTreeViewContextMenu.ContextMenu();
contextMenu1.Name = "Menu";
Telerik.WebControls.RadTreeViewContextMenu.ContextMenuItem Item1 = new Telerik.WebControls.RadTreeViewContextMenu.ContextMenuItem();
Item1.Text = "Add New Item";
Item1.ID = "Add";

//Here i want to make this Item1 Enable false

contextMenu1.Items.Add(Item1);
RadTreeView1.ContextMenus.Add(contextMenu1);


Thanks in advance
Posted
Updated 24-Sep-15 2:26am
v5
Comments
Andy Lanng 24-Sep-15 10:38am    
Telerik Example
Telerik Documentation
Looks like you need to cast as a RadMenuItem
Sergey Alexandrovich Kryukov 25-Sep-15 0:05am    
This is a proprietary and commercial Telerik product, their customer service should answer your questions. Why asking them here?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900