• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

Issues with WebControls.Menu in ASP.Net 2.0

Hi experts,

I'm using System.Web.UI.WebControls.Menu control in ASP.Net 2.0. The control has a property called "BackColor" which allows me to set the background color of the main nodes. Yet, it doesn't seem to have any property that lets me set the color of pop-up child nodes. Do you have any idea how to do that?

Thank you.
0
yokkui
Asked:
yokkui
  • 2
1 Solution
 
nouloukCommented:
Hi,

Take a look at LevelMenuItemStyles property:
http://msdn2.microsoft.com/en-us/system.web.ui.webcontrols.menuitemstylecollection.aspx

Regards.
0
 
yokkuiAuthor Commented:
Thank you, but that's a class not a property. Could you please be more specific?
0
 
nouloukCommented:
The LevelMenuItemStyles and LevelSelectedStyles properties are an alternative to the individual style properties (such as StaticMenuItemStyle). These properties are applied to regular menu items and the selected menu item, respectively, based on the menu item's level in the menu.

You can set a style to each level of your menu control.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now