User Control Prob

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top