Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specifying images in ASP.NET page
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Specifying images in ASP.NET page
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01434080
Message ID:
01434080
Views:
102
Hi,

I have a few images specified in an ASP.NET page. Here is one example how the image is specified:
<asp:TableRow>
     <asp:TableCell VerticalAlign="Top" Width="88" RowSpan="2">
     <IMG src="images\MyImage.gif"></asp:TableCell>
</asp:TableRow>
The strange thing is when I look at the page in design mode in VS 2005 the line "src ..." has a squiggly red underline. And I point the mouse on this line it say that "File images\MyImage.gif is not found" Yet, the image is there, in the IMAGES folder. What could be wrong in the way I specify the image?

TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform