473,668 Members | 2,611 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 936
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******** *************** ***********@mic rosoft.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
4702
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 more curiously, why it would be put in there as an unreliable function?) Rather than roll my own threaded fifo class, it would seem prudent to use Python's built-in Queue but the warning signs on a rather necessary function seem curious.
5
3198
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 ATM the image is on-top of the text, I would like to align the image to the left, is there an easy way that this can be done? MA
1
15897
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 load the image without any exceptions being thrown... import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class ImmutableImageExample extends MIDlet { private Display display; private MyCanvas canvas;
3
2510
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 image but I have had varying results on multiple images. Is there anyway to make the text a fixed size on the image. Similar to putting a date on a photograph.
2
1534
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 download a few example solutions to see how other do it but really didn't find what I needed.
0
2352
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 things happens when the "1" link is selected and ofcourse when "previous" is clicked from page 2. Other than this everything is a-ok. I think I just may need another set of eyes to check it out. Thanks. And here's the code: <?php ...
11
4990
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 problem. Even that complex solution works well only in FireFox (haven't tested Safari...). Can anyone come up with a better solution, where 'better' means: - Works as well as the example above, but is simpler. OR
1
1956
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 CStatic that I get, but no image appears... I'm doing this in OnInitDialog(...). any help?
3
4979
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 objects. Each Customer object has a property "Notes". When I display the list of customers in the gridview, I would like to provide a column that displays an Image associated with the Notes property. If the Notes property contains data I want to...
0
8381
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8799
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6209
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5681
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2026
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.