Rank: Newbie Groups: Member
Joined: 11/14/2008 Posts: 2
|
I'm using the slide menu asp.net control (it's currently set to the vertical-outlook style). When I add text items to the sub-menu that are longer than the specified width, they expand the menu horizontally past the width I have specified. Is there anyway to keep this from happening? I'd rather the text wrap than the menu expand horizontally. Is there a property I haven't found?
Thanks for any help that you can provide.
|
Rank: Newbie Groups: Member
Joined: 11/14/2008 Posts: 2
|
Figured it out! either
Code: C#
EO.Web.MenuItem subitem = new EO.Web.MenuItem(page.Name);
subitem.Text.NoWrap = EO.Web.NullableBool.False; //This line will do it
subitem.NavigateUrl = "~/" + module.Path + page.Url;
item.SubMenu.Items.Add(subitem);
or add
to the menu xml source
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Excellent! Thanks for the update!
|