Comunidad de Programadores
C sharp - Configuración de ASP.Net ImageUrl de Asphostportal
Configuración de ASP.Net ImageUrl de Asphostportal
Publicado por kratoss
(1 intervención) el 10/08/2016 10:39:49
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?
private VariableSeries<Double> m_seriesVar;