CLR: .Net / Mono / Boo / Otros CLR > ASP .NET

 Configuración de ASP.Net ImageUrl de Asphostportal

(1/1)

jatloui:
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


--- Código: ---filepath = "~/images/PL880L.png";

imagectl.ImageUrl = Server.MapPath(filepath);
--- Fin del código ---

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?

Navegación

[0] Índice de Mensajes

Ir a la versión completa