W
Wade Beasley
I have a web site I am working on for a client using ASP.NET with VB.Net
for the language. The client decided they needed the ability to choose
between different page layouts based on a setting in the database. I
have the header and footer working correctly by using a custom base page
and before the Page_Load loading the correct version from a subdirectory
with the Layout Number as the directory name. Now what I need is the
ability to have a similar style sheet in each of the numbered
subdirectories called template.css. Currently all the code for the
screens reside at the root level and the aspx pages point to a root
level "styles.css". What is the best way to accomplish this
redirecting to the correct subdirectory template.css file? Is it in
the base page too? If so how do I replace the currently specified
"styles.css" at runtime?
Thanks,
Wade
for the language. The client decided they needed the ability to choose
between different page layouts based on a setting in the database. I
have the header and footer working correctly by using a custom base page
and before the Page_Load loading the correct version from a subdirectory
with the Layout Number as the directory name. Now what I need is the
ability to have a similar style sheet in each of the numbered
subdirectories called template.css. Currently all the code for the
screens reside at the root level and the aspx pages point to a root
level "styles.css". What is the best way to accomplish this
redirecting to the correct subdirectory template.css file? Is it in
the base page too? If so how do I replace the currently specified
"styles.css" at runtime?
Thanks,
Wade