PC Review


Reply
Thread Tools Rate Thread

Asp.Image gets wipped from source code at run-time

 
 
Switch4Mac
Guest
Posts: n/a
 
      25th Aug 2006
Hi,

I want to insert an ad in my MasterPage. So in the MasterPage, I
have this piece of code: <asp:Image ID="GatesAd" runat="server"
ImageUrl="http://www.gate.com/images/banners/gate_148x400_final.gif"
AlternateText="www.Gates.com" />
and I even tried with the simple:
<img src="http://www.gate.com/images/banners/gate_148x400_final.gif"
border="0">
But still, nothing is showing up, anyone has clue about why its not
showing up.

I also thought it was the MasterPage playing with the path, therefore I
tried within a simple aspx file and still nothing showing up, What's
weird again, is that its showing right in the design mode.

It sounds freaking if that's impossible, no?

Yannick

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      25th Aug 2006
Where is the image located? In one of the content sections? If so, that is
normal.

As for the particular image, I get a blank when I hit the URL you suggested.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************
"Switch4Mac" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I want to insert an ad in my MasterPage. So in the MasterPage, I
> have this piece of code: <asp:Image ID="GatesAd" runat="server"
> ImageUrl="http://www.gate.com/images/banners/gate_148x400_final.gif"
> AlternateText="www.Gates.com" />
> and I even tried with the simple:
> <img src="http://www.gate.com/images/banners/gate_148x400_final.gif"
> border="0">
> But still, nothing is showing up, anyone has clue about why its not
> showing up.
>
> I also thought it was the MasterPage playing with the path, therefore I
> tried within a simple aspx file and still nothing showing up, What's
> weird again, is that its showing right in the design mode.
>
> It sounds freaking if that's impossible, no?
>
> Yannick
>



 
Reply With Quote
 
Switch4Mac
Guest
Posts: n/a
 
      25th Aug 2006
You say that this url
http://www.gate.com/images/banners/g...x400_final.gif is not
working? its working from here. : P

Yannick

Cowboy (Gregory A. Beamer) wrote:
> Where is the image located? In one of the content sections? If so, that is
> normal.
>
> As for the particular image, I get a blank when I hit the URL you suggested.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> *************************************************
> Think Outside the Box!
> *************************************************
> "Switch4Mac" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > I want to insert an ad in my MasterPage. So in the MasterPage, I
> > have this piece of code: <asp:Image ID="GatesAd" runat="server"
> > ImageUrl="http://www.gate.com/images/banners/gate_148x400_final.gif"
> > AlternateText="www.Gates.com" />
> > and I even tried with the simple:
> > <img src="http://www.gate.com/images/banners/gate_148x400_final.gif"
> > border="0">
> > But still, nothing is showing up, anyone has clue about why its not
> > showing up.
> >
> > I also thought it was the MasterPage playing with the path, therefore I
> > tried within a simple aspx file and still nothing showing up, What's
> > weird again, is that its showing right in the design mode.
> >
> > It sounds freaking if that's impossible, no?
> >
> > Yannick
> >


 
Reply With Quote
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      25th Aug 2006
It works for me in a master page.

Are you behind a firewall that's caching a bad version of the image? Is IE
set to get a new page every time?

If so, you might want to try adding a question mark to the URL like this:

<asp:Image ID="GatesAd" runat="server"
ImageUrl="http://www.gate.com/images/banners/gate_148x400_final.gif?"
AlternateText="www.Gate.com" />

Ken
Microsoft MVP [ASP.NET]

"Switch4Mac" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You say that this url
> http://www.gate.com/images/banners/g...x400_final.gif is not
> working? its working from here. : P
>
> Yannick
>
> Cowboy (Gregory A. Beamer) wrote:
>> Where is the image located? In one of the content sections? If so, that
>> is
>> normal.
>>
>> As for the particular image, I get a blank when I hit the URL you
>> suggested.
>>
>> --
>> Gregory A. Beamer
>> MVP; MCP: +I, SE, SD, DBA
>>
>> *************************************************
>> Think Outside the Box!
>> *************************************************
>> "Switch4Mac" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi,
>> >
>> > I want to insert an ad in my MasterPage. So in the MasterPage, I
>> > have this piece of code: <asp:Image ID="GatesAd" runat="server"
>> > ImageUrl="http://www.gate.com/images/banners/gate_148x400_final.gif"
>> > AlternateText="www.Gates.com" />
>> > and I even tried with the simple:
>> > <img src="http://www.gate.com/images/banners/gate_148x400_final.gif"
>> > border="0">
>> > But still, nothing is showing up, anyone has clue about why its not
>> > showing up.
>> >
>> > I also thought it was the MasterPage playing with the path, therefore I
>> > tried within a simple aspx file and still nothing showing up, What's
>> > weird again, is that its showing right in the design mode.
>> >
>> > It sounds freaking if that's impossible, no?
>> >
>> > Yannick
>> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time tracking software with asp.net source code Livetecs Microsoft ASP .NET 0 9th Mar 2009 08:54 PM
Time tracking software with asp.net source code Livetecs Microsoft ASP .NET 2 19th Feb 2009 05:19 PM
WIPPED OUT AVERY THING HOW DO I RESTART =?Utf-8?B?TUlDSyBNQ0RFUk1PVFQ=?= Microsoft Access VBA Modules 4 29th Nov 2005 05:16 AM
iexplorer shows source code instead source code's output, i.e., the actual page Michael Windows XP Internet Explorer 0 17th Sep 2003 02:06 AM
outlook 6 wipped out mailbox still annoyed Windows XP Hardware 0 31st Aug 2003 05:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:19 AM.