need to use an image in many aspx pages

T

Tony Johansson

Hello!

This is about aspx pages and I hope somebody know this even if this is a C
charp group

If I want to use an image in several aspx pages but if I change image I only
want to change in one place
what is the best way to do this,

Note this pages don't use master pages but is build up dynamically from xml
files where the controller is created dynamically.

//Tony
 
R

Registered User

Hello!

This is about aspx pages and I hope somebody know this even if this is a C
charp group

If I want to use an image in several aspx pages but if I change image I only
want to change in one place
what is the best way to do this,
The image's name and path could be kept in and read from the config
file. A better alternative is to use resource files in the
application.

<http://msdn.microsoft.com/en-us/library/ms227427(v=VS.100).aspx >


regards
A.G.
 
A

Arne Vajhøj

This is about aspx pages and I hope somebody know this even if this is a C
charp group

If I want to use an image in several aspx pages but if I change image I only
want to change in one place
what is the best way to do this,

Note this pages don't use master pages but is build up dynamically from xml
files where the controller is created dynamically.

Use a master page.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top