Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   menu control will not expand (2.0) (http://www.velocityreviews.com/forums/t778279-menu-control-will-not-expand-2-0-a.html)

Axford 06-02-2006 08:55 AM

menu control will not expand (2.0)
 
Hi,

my asp.net 2.0 menu control is unwilling to expand it's submenu??
This must be something very simple, but what...?

<asp:Menu ID="mainMenu" runat="server" Orientation="Horizontal"
DynamicHorizontalOffset="2" ForeColor="White" Font-Italic="False"
Font-Names="Arial" Font-Size="1em" StaticSubMenuIndent="2px"
Width="450px" >
<StaticHoverStyle BackColor="White" ForeColor="Black" />
<StaticMenuItemStyle HorizontalPadding="12px" VerticalPadding="2px" />
<StaticSelectedStyle BackColor="White" ForeColor="Black"/>
<Items>
<asp:MenuItem Text="Start" NavigateUrl="~/Start.aspx"
Value="Start"></asp:MenuItem>
<asp:MenuItem Text="1" Value="~/Default.aspx"
NavigateUrl="~/Overview.aspx?1"></asp:MenuItem>
<asp:MenuItem Text="2" Value="~/Default.aspx"
NavigateUrl="~/Overview.aspx?2"></asp:MenuItem>
<asp:MenuItem Text="3" Selectable="False">
<asp:MenuItem NavigateUrl="~/Overview.aspx?3a" Text="3a"
></asp:MenuItem>

<asp:MenuItem NavigateUrl="~/Overview.aspx?3b" Text="3b"
></asp:MenuItem>

</asp:MenuItem>
</Items>
</asp:Menu>

thx, Axford

Bhuva 06-02-2006 10:09 AM

Re: menu control will not expand (2.0)
 
Hi,

Submenu is getting expanded. But you have given ForeColor as White, so
it is not viewed. Change it to some other color and then check.


Axford 06-02-2006 06:25 PM

Re: menu control will not expand (2.0)
 
Right. Got everything to work now with ItemTemplates and server side code.
Thanks.

"Bhuva" wrote:

> Hi,
>
> Submenu is getting expanded. But you have given ForeColor as White, so
> it is not viewed. Change it to some other color and then check.
>
>



All times are GMT. The time now is 08:28 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.