Home
Products
Downloads
Support
Buy
How do I remove the MenuBar in WebMenu if I am not going to use it?
Product Name: WebMenu for ASP.NET MVC
Product Version: 7.0
Document Type: Question
Last Updated: 4/23/2017
Document ID: 65
Answer

To remove of the built-in MenuBar object entirely, set the DisplayMode property on the MenuBar object to '0 - None'.

For example:

menubar.DisplayMode(DisplayModeConstants.None)

Do not try setting each ShowMenuBarItem property to 'False'. This property is only useful in preventing certain Group objects from appearing on a MenuBar that you are using elsewhere.

Copyright © 2024 Coalesys, Inc. All Rights Reserved.