|
Rank: Newbie Groups: Member
Joined: 6/28/2007 Posts: 5
|
We decided to implement the EO menu in MOSS 2007. We were able to bind the control to the topSiteMap dataprovider. I attempted to make the sub menu horizontal but the Orientation doesn't seem to have an affect.
How can we get the submenus horizontal? I have pasted a sample of the code below for your review.
Thanks for your time, Shannon
<eo:Menu ID="Menu1" runat="server" ControlSkinID="None" Width="300px" DataSourceID="topSiteMap" > <LookItems> <eo:MenuItem ItemID="_TopGroup"> <SubMenu Width="500" Orientation="Horizontal" Style-CssText="border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;font-size:Medium;"></SubMenu> </eo:MenuItem> </eo:Menu>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Shannon, Orientation is not copied from the look item. So you can set it directly on the menu:
Code: HTML/ASPX
<eo:Menu id="Menu1" runat="server" Width="300px">
<TopGroup Orientation="Vertical">
</TopGroup>
</eo:Menu>
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 6/28/2007 Posts: 5
|
I must be missing something. I can not get it to go horizontal. Is there a way I can email you a screen shots?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Shannon, A screenshot actually won't help us too much. A menu by default is Horizontal, so if it is rendered as Vertical, most likely you did something somewhere. :) In order to find it out, you can create a blank page and then do:
Code: C#
Menu1.DataSource = new string[]{"abc", "def"};
Menu1.DataBind();
You should get a horizontal menu. Once you get that working, you can comparing with your code and look for the difference. Thanks
|
|