I have a usercontrol located in the root directory and I am referencing it from a page in a subfolder.
The user control seems to display correctly however the images within the user control are not displaying.
The images are display in the control as:
Images being a subfolder of the root directory also
If I try to use a tilde ~ as:
This doesnt work.
Do I need to add an images folder into the subfolder as well
The user control seems to display correctly however the images within the user control are not displaying.
The images are display in the control as:
Code:
<img src="images/logo.jpg"
Images being a subfolder of the root directory also
If I try to use a tilde ~ as:
Code:
<img src="~/images/logo.jpg"
This doesnt work.
Do I need to add an images folder into the subfolder as well