Highlight Top Menu Demo

This demo illustrates the effect when highlighting the top menu.

View the XML file bound to the DataGrid, SubmenuStyleXML.xml...



Source Code
HTML Portion:
				
<cc1:Menu id="Menu2" runat="server" Font-Names="Microsoft Sans Serif" Font-Size="9.5pt" BackColor="#E0E0E0"
	Cursor="Pointer" ItemSpacing="0" ItemPadding="5" HighlightTopMenu="False" Layout="Horizontal"
	SubmenuCSSClass="subMenu" HighlightTopMenu="True">
	<SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
</cc1:Menu>
				
Code-Behind Code:
				
private void Page_Load(object sender, System.EventArgs e)
{
	Menu1.DataSource = Server.MapPath("SubmenuStyleXML.xml");
	Menu1.DataBind();
}