|
protected void Page_Load(object sender, EventArgs e)
{
//Menu1.StaticPopOutImageUrl = "2.gif";
Menu2.StaticMenuItemStyle.ItemSpacing=System.Web.UI.WebControls.Unit.Parse("10px");
//Change the distance of static menu items
Menu2.DynamicMenuItemStyle.BackColor = System.Drawing.Color.PowderBlue;
//The background color of the static menu item
Menu2.DynamicHoverStyle.BackColor = System.Drawing.Color.Red;
//The background color of the dynamic menu item
Menu2.StaticEnableDefaultPopOutImage = false;
//Close the small arrow of static and dynamic menu items
} |
|