• Viernes 8 de Noviembre de 2024, 20:12

Autor Tema:  Configuración de ASP.Net ImageUrl de Asphostportal  (Leído 3642 veces)

jatloui

  • Nuevo Miembro
  • *
  • Mensajes: 1
    • Ver Perfil
Configuración de ASP.Net ImageUrl de Asphostportal
« en: Miércoles 10 de Agosto de 2016, 03:57 »
0
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: [Seleccionar]
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?