Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 31st, 2006, 08:56 PM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue with asp:Menu in TBH

I've been very impressed with Marco's work in this version of Problem Design Solution and in the first one for ASP 1.0. It's been a great help.

However, having been using the TBH site as a basis for one of my projects, I've run into an issue with the asp:menu. I've modified the homepage slightly, and when I add a child to one of the root items in the menu (Articles, in my case), the pop up menu doesn't render properly in IE6 (it's fine, of course, in Firefox), but rather appears to try to render underneath the div that contains the SiteMapPath. meaning that only about the top half of the first child is visible.

Can anyone recreate this error or point me to a solution? Many thanks, and I look forward to future editions of this book.

 
Old September 1st, 2006, 03:44 PM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In case I was too vague in my post, or for those who believe a picture is worth a thousand words:

http://xs.to/xs.php?h=xs305&d=06355&f=brokenmenu.jpg

Thanks for any help you can provide.

 
Old September 1st, 2006, 06:47 PM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually, I solved it. Perhaps this should be investigated further by someone more experienced than I, and then added to the official errata.

To fix the rendering issue, specify the Z-Index of the div that contains the menu header (and maybe also the menu header itself) to be greater than 1. For some reason, IE, but not Firefox, needs this to render properly.

Hope this helps someone.

 
Old September 2nd, 2006, 01:20 AM
Authorized User
 
Join Date: May 2006
Posts: 99
Thanks: 0
Thanked 1 Time in 1 Post
Default

At this point, I have no answer for you. I was researching the problem, because it isn't the first time this question has been asked. It is my belief, and again it is unconfirmed, that because DIVs are being used that the z-order is order of placement. The menu div is behind because it is placed before the panel divs.

 
Old September 2nd, 2006, 07:52 AM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right, that appears so. By manually setting the z-index of the menu div to 3, you get around the problem.






Similar Threads
Thread Thread Starter Forum Replies Last Post
TBH on asp.net forum vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 March 9th, 2007 01:32 PM
TBH Starter Kit forum on ASP.NET Forums rocco50 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 March 5th, 2007 01:53 PM
menu in asp.net 1.1 munchy_cool ASP.NET 1.0 and 1.1 Professional 1 February 14th, 2007 05:53 AM
asp:menu issue Russel ASP.NET 2.0 Professional 2 December 4th, 2006 03:27 PM
drop down menu in asp mateenmohd Classic ASP Basics 3 June 7th, 2003 02:43 PM





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