Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2006

Tip: Looking for answers? Try searching our database.

ASP.NET 2.0 Menu Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon Amrein - 29 Dec 2006 10:21 GMT
Hello NG

Does anyone knows, how I can design the submenu-style different from the
mainmenu?

<asp:Menu ID="menu1" runat="server" BorderColor="#000040"
BorderStyle="Solid" CssClass="frameworkWide"  Orientation="Horizontal"
DynamicEnableDefaultPopOutImage="False"
StaticEnableDefaultPopOutImage="False" >
<DynamicHoverStyle CssClass="dynMenuStyle"/>
<StaticSelectedStyle CssClass="dynMenuStyle" ForeColor="#0000C0" />
<Items>
<asp:MenuItem Text="Home" Value="Home" ></asp:MenuItem>
<asp:MenuItem Text="Key Account" Value="Key Account"></asp:MenuItem>
<asp:MenuItem Text="Learning" Value="Learning"></asp:MenuItem>
<asp:MenuItem Text="Delivery Management" Value="Delivery
Management"></asp:MenuItem>
<asp:MenuItem Text="Reporting" Value="Reporting"></asp:MenuItem>
<asp:MenuItem Text="Administration" Value="Administration">
   <asp:MenuItem Text="Administration Individuals" Value="Administration
Individuals"/>
   <asp:MenuItem Text="Administration Key Accounts" Value="Administration
Key Accounts" />
</asp:MenuItem>
</Items>
<StaticHoverStyle CssClass="dynMenuStyle" />
</asp:Menu>

CSS:
.dynMenuStyle{background:#C0C0FF;color:Silver;
border-bottom-color:Red;border-bottom-width:medium;
border-bottom-style:solid;}

Now, I'd like that in the submenu, the border-bottom-color:Red does not
appears... How can I do that?

Thanks!
Simon
Tamas Demjen - 29 Dec 2006 18:40 GMT
> Does anyone knows, how I can design the submenu-style different from the
> mainmenu?

Perhaps microsoft.public.dotnet.framework.aspnet would be a better place
to ask this question.

Tom

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.