473,508 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unreliable Image Display in VS2003

Here are two lines from the HTML view of my page that should display the same
jpg:

<asp:Image id="Image2" ImageUrl="~/SpotImages/paw.jpg" width="16"
height="16" runat="server"></asp:Image>

<asp:Image id="Image3" ImageUrl="../SpotImages/paw.jpg" width="16"
height="16" runat="server"></asp:Image>

In VS2003, only the second displays paw.jpg in the design view. Any ideas?

TIA,

Jeb.

Jun 21 '06 #1
1 927
the designer does not support the "~" as this is implemented by the asp.net.

-- bruce (sqlwork.com)

"JebBushell" <jebbushell AT yahoo DOT com> wrote in message
news:D9**********************************@microsof t.com...
Here are two lines from the HTML view of my page that should display the
same
jpg:

<asp:Image id="Image2" ImageUrl="~/SpotImages/paw.jpg" width="16"
height="16" runat="server"></asp:Image>

<asp:Image id="Image3" ImageUrl="../SpotImages/paw.jpg" width="16"
height="16" runat="server"></asp:Image>

In VS2003, only the second displays paw.jpg in the design view. Any
ideas?

TIA,

Jeb.

Jun 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4692
by: James R. Saker Jr. | last post by:
I see per pydoc that Queue.Queue()'s .qsize is allegedly unreliable: | qsize(self) | Return the approximate size of the queue (not reliable!). Any thoughts on why this is unreliable (and...
5
3174
by: Paul Tomlinson | last post by:
Tabpages and Imagelists - I want to align the image to the left so I can display some text... All, I have a number of tabpages and on each tab page I currently have an image and some text, now...
1
15883
by: namratapatil | last post by:
Hi...i am trying to load an image that has been saved at the following path: C:\WTK22\apps\MyProject\res After exectuing the program, the NullPointerException is thrown...Kindly let me know how to...
3
2481
by: =?Utf-8?B?SlIx?= | last post by:
I would like to add text to an image. I have tried to use DrawString and it works on some images but on others it is very very small. I am pretty sure it has something to do with the size of the...
2
1526
by: Franky | last post by:
I have a solution in which the menu items have no images. I want to add them. Having never done this before, nor explicitly add any resources, I'm wondering the best way to do that. So I...
0
2345
by: bindslind | last post by:
The script does most of what it's supposed to do, but I have what seems to be a simple problem that I can't figure out. When the page intitially loads the first page does not display images. The same...
11
4969
by: Chris Beall | last post by:
See http://pages.prodigy.net/chris_beall/Demo/photo%20block%20experiments.html I've ended up with what seems like a rather complex structure for what I thought would be a somewhat simple...
1
1947
by: Michael Bray | last post by:
I'm trying to display an image on an ATL Dialog form in VS2003... I think I am able to load an image (a GIF) w/ CImage.Load, and I'm trying to call the SetBitmap followed by Invalidate on the...
3
4973
by: Froefel | last post by:
Hi group, I'm looking for some help on how to achieve the following in a gridview control that is based on an ObjectDataSource. The SelectMethod of the datasource returns a list of Customer...
0
7228
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7128
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7332
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7393
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.