Link to home
Start Free TrialLog in
Avatar of hrj5721
hrj5721

asked on

How to specify menu item separators for visual studio vb.net 2010 and 2012 web forms?

I have not found which attribute of the Visual Studio menu control specifies item separator symbol at the root level,  I want menu to be horizontal, but without separators text of items run together.

Which attribute should I use?
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Hi,
which .NET framework are you targeting?
The property is not set on the menu itself but on the menuitem:
SeparatorImageUrl

And its not a text but an image.

Alternative (but that depends on how you create / databind your menu items):
Create menu items with the text "|" and without an url.

More info here:
http://forums.asp.net/t/1669258.aspx

HTH
Rainer
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hrj5721
hrj5721

ASKER

Thanks for the solution, especially for noting that the attribute in question was that of the item object, not the menu object.