Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > menu control will not expand (2.0)

Reply
Thread Tools

menu control will not expand (2.0)

 
 
Axford
Guest
Posts: n/a
 
      06-02-2006
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
 
Reply With Quote
 
 
 
 
Bhuva
Guest
Posts: n/a
 
      06-02-2006
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.

 
Reply With Quote
 
 
 
 
Axford
Guest
Posts: n/a
 
      06-02-2006
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.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie expand/collapsible menu problem Justin C Javascript 6 10-15-2009 01:58 PM
menu control expand image when submenus- removing that black arrow? jobs ASP .Net 0 05-26-2007 08:30 PM
Help needed for a expand-collapse menu Rabel Javascript 3 11-15-2006 01:11 AM
Menu Control - Expand items on mouse click rather than mouse hover =?Utf-8?B?am9qb2Jhcg==?= ASP .Net 1 10-02-2006 03:41 AM
Menu expand Mike Johnson HTML 6 05-24-2006 08:53 PM



Advertisments