Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image pathing in user controls
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00798637
Message ID:
00798660
Vues:
19
What about "images/someimage.gif" ?

Maybe I am missing something.


>I'll bet this is an easy question....
>
>My application directory structure is as follows:
>
>application_root
> ->images
> ->usercontrols
> ASPX files go in root
>
>I need to reference images in my user controls (so the pathing looks like "../images/someimage.gif") in my user control source.
>
>When I include the user control on a page and try to run it, the page (obviously) cannot find the image (since ../images takes me outside of my application root).
>
>My question is this, is there some way in the src="" attribute on my HTML controls to specify an application root relative path so that I can see the graphics in UserControl design mode AND when I run my application?
>
>Please say there is a way to do this....
>
>Mary Hintermeier
>RSA
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform