File path and Master page problem

  • Thread starter Thread starter Samuel Shulman
  • Start date Start date
S

Samuel Shulman

In the MasterPage an images is mapped as follows: ../Images/XYZ.gif and that
works fine as long as the forms using this master file are related to the
image file in the same way

But I have another sub folder where I have more forms using the Master Page
and there the image is not found so I tried to change the path to:
~/Images/XYZ.gif and then nothing works

Thank you,
Samuel
 
Master pages do not automagically call to resolve the client side URL on
standard images, so you end up with relative pathing with a tilde (~)
inserted. To overcome this, use an image control instead; you can then use
the tilde for virtual directory root.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 

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

Back
Top