Radmenu select first item

2 posts, 0 answers
  1. Elvis
    Elvis avatar
    11 posts
    Member since:
    Jul 2008

    Posted 29 Aug 2011 Link to this post


    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.

  2. Stefan
    Stefan avatar
    2891 posts

    Posted 01 Sep 2011 Link to this post

    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,
    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 >>

  3. DevCraft R3 2016 release webinar banner
Back to Top