using ~ (virtual path) with images
From: Brian Henry (brian.henry[nospam)
Date: 04/10/04
- Next message: Luke: "security issue in asp"
- Previous message: Alphonse Giambrone: "Re: File Upload Web Service"
- Next in thread: John Saunders: "Re: using ~ (virtual path) with images"
- Reply: John Saunders: "Re: using ~ (virtual path) with images"
- Reply: Pete Beech: "Re: using ~ (virtual path) with images"
- Reply: Rick Strahl [MVP]: "Re: using ~ (virtual path) with images"
- Reply: Jos: "Re: using ~ (virtual path) with images"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 10 Apr 2004 16:37:28 -0400
I made a header control in asp.net and it references images in the /images/
folder in the virtural path's root folder... How can I get the header
control to show the images at any level of the web site? i got the controls
to load using the ~/tempates/ctrlHeader thing in the references section of
the page that uses them, but I need that same idea in the actual control so
it knows to refrence the image folder no mater where the page its doing it
from is located in the site... how can i do this? is there a way to use the
~ in the img src? thanks
example structure of this
/ root
|--- images
|--- controls for header etc...
| -- main page.html
|--- new pages in folder
| --- sub page 1.. references control header and img
- Next message: Luke: "security issue in asp"
- Previous message: Alphonse Giambrone: "Re: File Upload Web Service"
- Next in thread: John Saunders: "Re: using ~ (virtual path) with images"
- Reply: John Saunders: "Re: using ~ (virtual path) with images"
- Reply: Pete Beech: "Re: using ~ (virtual path) with images"
- Reply: Rick Strahl [MVP]: "Re: using ~ (virtual path) with images"
- Reply: Jos: "Re: using ~ (virtual path) with images"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|