Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

links to external page 1

Status
Not open for further replies.

dinger2121

Programmer
Sep 11, 2007
439
US
Hello,
I have a masterpage set up that has various links to another web site. These links are all to pages on that page. Is there a way that I can set up a variable on my page, so that if the link site changes, I only have to update it once?

Thanks for any thoughts.
 
Also, it would be a good idea to put the variable's value in the web.config. It makes it eaiser to maintain, and you won't have to roll out code if there is a change.
 
Thank you all. I tried using <%# Eval("") %>, but that didn't work. didn't realize I could just add the variable. worked perfectly.
I will also take jbenson001's advice and add that to the web.config.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top