Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 29th, 2013, 11:43 AM
Registered User
 
Join Date: Aug 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Question ch7 sub menu don't display

I enjoy the book: beginning ASP.NET 4 and do all the TRY IT OUT.
In the chapter 7, P254-255, I try the menu, but I can't fix.

the level 1 menu display fine, Home Review, About, Login
but when I pick up Review or About, it can't display sub menu,
it only display a box. I hover the submenu, it display tips.
When I pick down the submenu, it display the content.

I have copied the Monochrome.css as P254 required.
After here, treeview, sitemapPath work well at P262 (except <Wrox:Banner)

How do I debug such css problem or let the submenu display?
 
Old August 29th, 2013, 12:08 PM
Registered User
 
Join Date: Aug 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I search similar answer, and I can't fix it.
like:
in Monochrome.css
Code:
.DynamicMenuStyle
{
z-index: 1000; 
}
in master
Code:
<asp:Menu ID="Menu1" runat="server" CssClass="MainMenu" DataSourceID="SiteMapDataSource1" 
           Orientation="Horizontal" StaticEnableDefaultPopOutImage="False">
           <DynamicMenuStyle CssClass="DynamicMenuStyle" />

       </asp:Menu>
 
Old September 1st, 2013, 10:10 PM
Registered User
 
Join Date: Aug 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default now ok

Now it is fine. Maybe I change the version from 3.5 to 4.0
But I hope to know why
 
Old September 2nd, 2013, 02:34 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Looks like you already found IE8 and the Menu which describes the problem and a fix. If it still didn't work for you, it may be that your browser wasn't recognized as a modern or uplevel browser, causing this odd behavior. Recent versions of ASP.NET fixed this, so upgrading to 4.0 may have indeed been the fix. The alternative is to create a separate .browsers file and modify the settings to have your browser recognized as up level: Menus in Chrome, Ch 7 p244-

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7. Unable to get sub menu to display correctly digitalsoul BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 8 October 30th, 2009 03:37 PM
Selected value from dropdown menu wont display. mizjinx Classic ASP Databases 0 May 20th, 2007 08:24 PM
Asp.Net 2 Horizontal Menu Display Problem ivotive ASP.NET 2.0 Professional 1 December 15th, 2006 04:28 AM
menu-frames-display settings won't work web4all Javascript How-To 1 March 2nd, 2006 10:15 AM
Doing ch7 would u help me out? mara JSP Basics 1 November 18th, 2003 09:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.