 |
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
|
|
|
|
|

February 4th, 2011, 07:20 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
adding the user control to your page
Chapter 8 - in try out "Adding the control to your page".
when i open the default.aspx in the browser, the banner120X240.gif image was not visible instead that there was a dot. but the link was working when i clicked the dot.
can anyone tell me how to bring the image.
|
|

February 5th, 2011, 07:43 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Can you post the code for your ASPX page and the User Control?
If you post code, please paste it in Notepad first to remove color coding and then use the forum editor's Code toolbar button to wrap your code in code tags. Otherwise, this forum messes up the code.
Cheers,
Imar
|
|

February 5th, 2011, 11:36 AM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
problem is solved
problem solved..
i changed the name of Image from "Banner120*240.gif" to "BannerVertical.gif"
and its working.
but when it was not working, it was just showing a dot. but the link to
http://p2p.wrox.com was working when i click on it.
thanks
sandeep
|
|

February 6th, 2011, 06:11 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
How did you get the * in the file name in the first place? Windows and Visual Studio don't let me do that as the asterisk is a reserved (wildcard) character....
Cheers,
Imar
|
|

February 6th, 2011, 12:59 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry .... I mean... I used "Banner120x240.gif" not "Banner120*240.gif"
|
|

February 6th, 2011, 02:12 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Do you have anti-spam / virus / advertising software installed such as McAfee? These type of programs may block banners on their (well known) size of file name...
Imar
|
|

February 6th, 2011, 03:44 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yes ..i have Kaspersky Internet security
|
|

February 6th, 2011, 04:32 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
If you want to find out if that's causing the problem, temporarily disable it and rename the image. If it shows up fine you know what caused the initial problem.
Cheers,
Imar
|
|

February 6th, 2011, 05:58 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i changed the images name back to what was mentioned in the book. they are working. i tried what you said above, they work if the antivirus in enabled. i think the problem was in the tag<asp:img />. i didnt give attention to the link, that might caused the problem.
|
|

February 6th, 2011, 06:10 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Ah, OK. Well, as long as it works.... ;-)
Imar
|
|
 |