C
Carl Howarth
Hi there,
I am developing a web application that has the bulk of the code in the root
directory, then some code split out into separate directories. the problem
I have is that I would like to be able to use my user control on pages
within the subdirectories, but the user control contains an image src of
'i/image.gif', for example. When it is in the subdirectory the src should
be '../i/image.gif' i would guess.
How can I let my user control know which page it is on to achieve this
dynamacally without having to replicate the controls?
Many thanks,
Carl Howarth
(e-mail address removed)
I am developing a web application that has the bulk of the code in the root
directory, then some code split out into separate directories. the problem
I have is that I would like to be able to use my user control on pages
within the subdirectories, but the user control contains an image src of
'i/image.gif', for example. When it is in the subdirectory the src should
be '../i/image.gif' i would guess.
How can I let my user control know which page it is on to achieve this
dynamacally without having to replicate the controls?
Many thanks,
Carl Howarth
(e-mail address removed)