Re: Maddening Noob Question - Images won't display
- From: Phil H <google@xxxxxxxxxxxxxxx>
- Date: Fri, 7 Mar 2008 01:42:06 -0800 (PST)
On 6 Mar, 02:31, Arch Stanton <s...@xxxxxxxx> wrote:
I'm an absolute newbie trying to teach myself asp.net from a dummies
book and the web. Sorry in advance.
I'm just trying to display images on my .aspx page. I've tried both of
these approaches:
<img src="CTLogo.gif" />
<asp:image runat="server"
id="CTLogo"
imageurl="CTLogo.gif"
alternatetext="No Image" />
Both of these are in the body of my page (between the BODY tags>, and
the image CTLogo.gif is in the same directory as the .aspx files. But I
keep getting the 'broken image' icon or the alternate test. The dummies
book and every page I've tried say this should work. If I paste the
first one into a file with a .html format, it works fine.
Can anybody give me pointers on what to try?
Hi
With ASP.NET all active material has to be between the <form> tags of
which there can only be one set. Is this so in your case?
.
- References:
- Maddening Noob Question - Images won't display
- From: Arch Stanton
- Maddening Noob Question - Images won't display
- Prev by Date: Maddening Noob Question - Images won't display
- Next by Date: Re: Problem with webcontrol state using PlaceHolder within ASCX file
- Previous by thread: Maddening Noob Question - Images won't display
- Next by thread: Re: Problem with webcontrol state using PlaceHolder within ASCX file
- Index(es):
Relevant Pages
|