Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Sign In | Join
1,300 Downloads
22,016 Views
Menu's data (style included) can be set in 3 ways. 1) In code 2) In HTML 3) In XML *** Example for Code *** ProNetDhtmlMenu1.XmlFile = Server.MapPath("~/Content/SampleMenu.xml"); ProNetDhtmlMenu1.DataBind(); *** Example for HTML *** <ProNetDhtmlMenu:ProNetDhtmlMenu id="ProNetDhtmlMenu1" runat="server" XmlFile="~/Content/SampleMenu.xml"> </ProNetDhtmlMenu:ProNetDhtmlMenu> *** Example for XML *** <?xml version="1.0" encoding="utf-8"?> <DhtmlMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" OmitScriptTags="true" Wait="250" XOffset="-5" YOffset="-2"> <DefaultMenuStyle BorderWidth="1px" BorderStyle="Solid" IconHeight="32" IconWidth="32" Filter="progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=125, strength=2)" FilterOnOpen="progid:DXImageTransform.Microsoft.Fade(duration=0.25,enabled=true,overlap=1.0)" BackColor="#478DC9" /> <DefaultItemStyle ForeColorHover="Black" BackColorHover="#ADD8E6" ForeColor="white" BorderColor="Black" BorderWidth="0"> <DefaultFont Names="Verdana, Tahoma, Arial" Size="12px" /> </DefaultItemStyle> <Menu ID="Start" IsRoot="true" IsHorizontal="true"> <MenuStyle BorderWidth="0px" Filter="" IconHeight="20" IconWidth="10" BackColor="Transparent" /> <Item Text="Home" Url="~/" /> <Item IsSeparator="true" /> <Item Text="Products" ChildMenu="Products"/> <Item IsSeparator="true" /> <Item Text="Services" Url="~/?pID=Services" /> <Item IsSeparator="true&
Submit a review