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

Dynamically change index of menu item

1 Answer 30 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Farshad heidary
Top achievements
Rank 1
Farshad heidary asked on 25 May 2010, 08:36 AM
hi guys.
i want to Dynamically change index of menu item.
for Order Tab Index for menu.
how i can implement it?



1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 25 May 2010, 04:17 PM
Hi Farshad,

You should remove the item from Items collection and add it again with Insert method which takes the index as first parameter:

RadMenu1.Items.Insert(5, item);

Best wishes,
Yana
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Menu
Asked by
Farshad heidary
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or