Re: Maddening Noob Question - Images won't display

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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



Relevant Pages

  • Re: Aggravating Noob Question - Images wont display
    ... I'm just trying to display images on my .aspx page. ... 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. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Aggravating Noob Question - Images wont display
    ... I'm an absolute newbie trying to teach myself asp.net from a dummies book and the web. ... I'm just trying to display images on my .aspx page. ... 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. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Maddening Noob Question - Images wont display
    ... I'm an absolute newbie trying to teach myself asp.net from a dummies book and the web. ... I'm just trying to display images on my .aspx page. ... 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. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Page Processing
    ... individual aspx pages do, except that it pulls data dynamically from ... > I have a problem at the moment where an external program writes aspx files ... > to a server and then allows people to brows to those pages. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Customizing the Toolbar for a List - Forwarding to another page
    ... I'm stuck on this... ... other .ASPX files and the SCHEMA.XML file for my list are stored (e.g. ... whichs seems pretty ok to me. ...
    (microsoft.public.sharepoint.portalserver.development)