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

RadMenu Highlight selected parent and sub item

2 Answers 141 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Raheel
Top achievements
Rank 1
Raheel asked on 12 Jul 2011, 03:57 PM
Hello All,

Can anyone , please assist us to highlight the Radmenu item [parent and sub item, if sub item is selected ] after use clicks , we have created the radMenu using link ,


Thanks,

2 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 19 Jul 2011, 09:29 AM
Hello,

Make the RadMenuItems checkable. When the user click in item within set the IsChecked to true on that item and on the parent.

If you are using the customization example you will need some knowledge in XAML and Styling. Setting the IsChecked to true will set the RadMenu item's CheckedStates VisualStateGroup to go to the Checked state. IsChecked = false will move it to back to Unchecked. So you can add these two states and somewhat visual element to show the "Selected" RadMenuItem element.

All the best,
Pana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Justin
Top achievements
Rank 1
answered on 02 Aug 2011, 07:29 AM
If I set IsCheckable to True to a parent RadMenuItem, when I mouse over it it doesn't show the drop down anymore. How can I set it to be checkable and still be able to see its child items?

Update: actually please ignore my question, I just figured it out. I just need to set IsCheck to true instead of setting IsCheckable.

Thanks.
Tags
Menu
Asked by
Raheel
Top achievements
Rank 1
Answers by
Pana
Telerik team
Justin
Top achievements
Rank 1
Share this question
or