Find articles on computer software, programming, ASP.net, Sql server, databases, C#, websites, Internet, Windows, Outlook macros.
When using the Asp.net Menu Control to display a horizontal menu, you might want to add a bar between menu items, like this:
Item1 | Item2 | Item3 | Item4
There is no property in the Asp.net Menu Control to let you set a separator.
If you are using an Xml file for your menu control, the easiest way to add the separator is to put the separator in your Xml file, like this.
<menu> <menuitem title="Item1" url="item1.aspx" /> <menuitem title="|" url="" /> <menuitem title="Item2" url="item2.aspx" /> <menuitem title="|" url="" /> <menuitem title="Item3" url="item3.aspx" /> </menu>
The separator will show as a link, but clicking on it will not do anything.
AWeber Email List Marketing Test Drive
Use email marketing to convert targeted subscribers to customers. Let the system sell itself for you!