We do something like this. We implemented an HttpHandler
(implementing
IHttpHandler) and in our ProcessRequest override we write
the css LINK tag
into the response.
Cam
----- Original Message -----
From: "Pardee, Roy" <pardee.r GHC.ORG>
To: <DOTNET-WEB DISCUSS.DEVELOP.COM>
Sent: Tuesday, March 28, 2006 10:13 AM
Subject: [DOTNET-WEB] Asp.net 1.1: How hard to change
stylesheet on the fly?
Hey All,
I've got an asp.net app w/a link tag to an external
stylesheet like so:
<LINK href="styles.css"
type="text/css" rel="stylesheet">
Suppose I had 2 stylesheets & I wanted to be able to
switch them on the
fly in server-side code (e.g., in response to a query
parameter).
Anybody know a graceful way of doing that?
Thanks!
-Roy
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|