Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute vs Relative Path Problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00697815
Message ID:
00698017
Vues:
17
HI Jayesh,

Thanks for taking the time to reply...

My code is also in Page_Load(). I should say that it does display the graphic when running the app locally and when running the app from the web server from my development machine. In either case, it seems to be finding the .jpg file on my local development machine. The problem occurs when I go to another machine and try to run the app from the web server. Ive been told that I can move the .jpg files into the app folder and use relative paths but this is not desirable in this case. Also, the IDE allows you to specify that the path to the jpg file is absolute so I figured there is a way to do it through code.

Todd


>I think it is using absolute url. Doesn't it show the Image properly? I tried to do the same in the Page_Load() and it works.
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform