Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 September 14th, 2010, 12:44 PM
Authorized User
 
Join Date: Oct 2009
Posts: 40
Thanks: 4
Thanked 0 Times in 0 Posts
Default Question on sub menu items not appearing.

Hi Imar ive been through the book twice now and always ended up when i hover over my sub menu items with just a white block. I cant see any of the sub menu items such as say Reviews>All Reviews or Reviews>Genres or About>Contact Us, About>AboutUs. Can you tell me at what point in the book i seem to have missed where it explains how to change the site from just having a white block appear when you try to hover over menu items to showing all the sub menu items when i hover over them.

Im unsure how ive missed this twice.

Many thanks Lee
 
Old September 14th, 2010, 12:58 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 Lee,

You haven't missed anything in the book, but you did miss something in the errata: http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html

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!
 
Old September 14th, 2010, 01:51 PM
Authorized User
 
Join Date: Oct 2009
Posts: 40
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Ive had a good read and attempt at this for a while. Adding a
.IE8Fix
Code:
  11:         {

  12:             z-index: 100;

  13:         }
followed by a
Code:
<DynamicMenuStyle CssClass="IE8Fix" />
did not work.

With regards to option 2 as recommended here:
http://blogs.msdn.com/b/giorgio/arch...ite-issue.aspx

I have downloaded CSSFriendly.dll and CSSFriendlyAdapters.browser the recommdned site as step 1.
However could you please tell me how in my site i then:
" 2. Inside your project, add a reference to CSSFriendly.dll.
3. Add the special folder App_Browsers to your project, and copy the file CSSFriendlyAdapters.browser. "

Im particularly unsure what it means by adding a reference to CSSFriendly.dll.

Could you please tell me how to do that.
Hopefully i can get the white menu items to disappear then.

Lee
 
Old September 14th, 2010, 04:52 PM
Authorized User
 
Join Date: Oct 2009
Posts: 40
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Nevermind Imar. Ive solved this myself.

Hurrah!
 
Old September 14th, 2010, 05:10 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I wouldn't use the adapters. Instead, I would fix the problem at its root: in ASP.NET by installing the hot fix.

To help future visitors to this thread, would you mind sharing *how* you fixed it?

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!
 
Old February 17th, 2011, 07:11 AM
Authorized User
 
Join Date: Feb 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Have similiar issue with sub menus not showing.

Followed thread on advice and recoded CSS file for Monochrome(.DynamicMenuItemStyle) as:

Code:
.DynamicMenuItemStyle
{
	z-index: 1;	
             font-size: 14px;
	color: #707070;
	background-color: #cccccc;
	padding: 4px 2px 4px 3px;
}
This seemed to do the trick in that submenus displayed however the block background is a white, is this normal?
 
Old February 17th, 2011, 07:21 AM
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,

Did you apply the fix as discussed here: IE8 and the Menu

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!
 
Old February 17th, 2011, 07:46 AM
Authorized User
 
Join Date: Feb 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Imar View Post
Hi there,

Did you apply the fix as discussed here: IE8 and the Menu

Imar
Tried this but has regresssed to original problem.
Just to clarify as per link:
'Adding' another entry for DynamicMenuStyle to Master page as :

Code:
    <DynamicMenuStyle CssClass="DynamicMenuStyle" />
    <DynamicMenuStyle CssClass="DynamicMenuItemStyle" />
An also on CCS sheet:
Code:
.DynamicMenuStyle 
{
z-index: 1000;
}

.DynamicMenuItemStyle
{
	/* Defines the sub menu items */
	font-size: 14px;
	color: #707070;
	background-color: #cccccc;
	padding: 4px 2px 4px 3px;
}
 
Old February 17th, 2011, 07:50 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not sure what you're saying or asking. Is it fixed now?

Code:
<DynamicMenuStyle CssClass="DynamicMenuStyle" />
<DynamicMenuStyle CssClass="DynamicMenuItemStyle" />
This won't work. You can only apply the style once.

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!
 
Old February 17th, 2011, 07:55 AM
Authorized User
 
Join Date: Feb 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dropping this back in:
Code:
.DynamicMenuItemStyle
{
	/* Defines the sub menu items */
	z-index: 1000;	
font-size: 14px;
	color: #707070;
	background-color: #cccccc;
	padding: 4px 2px 4px 3px;
}
Certainly brings the list back in view, but its the unaesthetic White background block thats the issue?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank items in menu ricardor ASP.NET 2.0 Basics 2 December 18th, 2009 06:08 AM
"Piblish to Provider..." Option Not Appearing in Database Explorer Context Menu chrisreyno BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 September 18th, 2009 11:05 AM
CH 15 Context Menu - Element Menu Items Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 2 November 9th, 2008 03:53 PM
Adding Menu Items using VB SamuelP ASP.NET 2.0 Professional 0 October 23rd, 2006 08:01 AM
Menu Items JoBi C# 0 October 20th, 2004 08:51 PM





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