1
« en: Miércoles 10 de Agosto de 2016, 03:57 »
I have a website that is a subdomain within one of my ASPHostPortal accounts. within this website I have an image folder with images. Within my ASP.Net code I am trying to dynamically load an image into an ASP Image control from this folder using
filepath = "~/images/PL880L.png";
imagectl.ImageUrl = Server.MapPath(filepath);
The path that is being returned is correct however, the image is not being loaded. The image DOES exist and the folder and the subdomain both have read write permissions set.
What could be the problem?