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

Radmenu select first item

1 Answer 84 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Elvis
Top achievements
Rank 2
Elvis asked on 30 Aug 2011, 03:14 AM
Hello,

It seems that radMenu1.SelectFirstVisibleItem(); doesn't work.
I'm trying to select a raditem from codebehind, not sure if this is possible. My goal is to always have one item "selected" all the time.
Please help.
Thanks

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 01 Sep 2011, 04:18 PM
Hello Elvis,

Thank you for writing.

This method will select the first visible item in RadMenu (see image 1.png). However, if you want to select a certain item, simply set the Selected property of the desired RadMenuItem to true (see image 2.png).

I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.

Kind regards,
Stefan
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Menu
Asked by
Elvis
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Share this question
or