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 September 8th, 2011, 01:51 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile Horizontal Banner in User Control

Hi Imar,
I am getting problem in displaying the banner horizontally. I have written exact same code and run it but horizontal banner is shown neither in master page nor in about us page. When I did not see result then I just ran the chapter 8 code (that comes with source download) as a whole website within VWD, but still it does not show the horizontal banner. Where can be the problem and what can be the fix?
 
Old September 8th, 2011, 02:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sound like you're running an ad blocker. The banner ad has a known ad size and as such may be blocked by ad-blocking software.

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!
The Following User Says Thank You to Imar For This Useful Post:
 
Old September 8th, 2011, 02:51 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Default

Very strange for me, as I am hearing about it for the first time.
So how I detect that software if any and how I overcome that problem?
 
Old September 8th, 2011, 03:39 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It could be a browser plugin (try using a different browser to see if that makes a difference) or security software such as Norton or McAfee.

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 8th, 2011, 03:58 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Default

Yeah it is working in other browsers but not only in mozila. I think it is due to add-on. I have Avira Premium installed on system. Any idea about that add-on for mozila?
Still hats off to you...
 
Old September 8th, 2011, 04:15 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Any idea about that add-on for mozila?
Not really. Try disabling them one by one until it works...

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 8th, 2011, 04:21 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Default

OK I will do that....
 
Old November 7th, 2011, 07:03 PM
Registered User
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

I had the same problem, also with Mozilla Firefox. I solved the problem by renaming the image.

Banner468x60.gif -> Banner468x060.gif
The Following User Says Thank You to torbenb For This Useful Post:
Imar (November 8th, 2011)
 
Old November 8th, 2011, 10:20 AM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Hi torbemb,
It really worked for me too. And the thing I am amazed with is that I totally changed name of image, then also it works but when I renamed it back to Banner480x60.gif, it worked fine, even I have not disabled any plugin.

Amazing behavior, if you find reason please mention it here.
 
Old November 9th, 2011, 04:04 AM
Registered User
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have no idea. But it seems to me, it would be best to avoid to use the name "Banner480x60.gif" on pages you íntend to publish.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with FireFox and Horizontal Banner JTighe BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 17 May 6th, 2010 05:50 PM
Dynamic Add User Control To The Tab Control cheer ASP.NET 3.5 Basics 1 February 25th, 2009 10:48 PM
How to display a banner in div control peace2007 Javascript 3 October 5th, 2007 12:38 AM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Help! Custom Server Control using User Control diehard ASP.NET 1.0 and 1.1 Professional 2 January 4th, 2006 12:33 PM





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