Is there a way to stop the automatic collapse of the sub item menu when a sub item is selected. I would like to the have the sub menu still expanded after an item is selected.
Thanks
Tony
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 28 Sep 2021, 01:29 PM
Hello Tony,
The auto collapse happens only if the DisplayMode of the control is set to Minimal. If you change it to Compact or Expanded the items won't collapse on a selection of a sub item. I hope that helps.
Regards,
Martin Ivanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Every time a menu item is selected the entire hamburger menu collapses back to the original view. What I need is if a menu item is selected everything still stays expanded. I only want the main menu to collapse if the user clicks on the header.
Thanks
Tony
Martin Ivanov
Telerik team
commented on 29 Sep 2021, 11:28 AM
Thank you for the video.
The first situation you test, the collapse is expected and it cannot be disabled. I mean, where the pane is collapsed and you click on item in order to open the flyout with the sub items. In this case, the flyout is displayed only as an overview that allows you to select an item and then it disappears. However, the second case should work as expected (where the pane is opened). I've tested this with the HierarchicalDataBinding SDK example. What I can suggest you is to test the example and your project with the latest version of Telerik UI for WPF. If this doesn't help, you can send over a project showing the issue so I can check it out.