RadMenu for ASP.NET

Add, remove and disable menu items Send comments on this topic.
See Also
Telerik RadMenu server-side > Add, remove and disable menu items

Glossary Item Box

With Telerik RadMenu it is easy to add, remove or disable items at runtime.

You can get the clicked item from the event argument of the click handler. You can then get its parent item, and then add and remove child items to the Items collection of the item and enable or disable them.

Adding items at runtime is quite simple: just create a new instance of the MenuItem and add it to the corresponding Items collection with the  AddItem() method. Similarly, to remove an item, use the Remove() method.

To disable an item, simply set the Enabled boolean property of the menu item to False.

To see the code sample, please, view the online example on Add / Remove / Disable Items

See Also