Hello,
Adding a RadMenu item as a child to another item on the client can be done as shown below:
The example shows adding a child item with text "AddedClientSide" to an item with text "Root1" at index 0.
After accessing the Items collection (
get_items()) of the item you want to add a child item to, you can use either its
add() or
insert() client-side method. The latter allows to specify the index you want to add the child item at.
Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items