List Info

Thread: Asp.net 1.1: How hard to change stylesheet on the fly?




Asp.net 1.1: How hard to change stylesheet on the fly?
user name
2006-03-28 18:22:25
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.rGHC.ORG>
To: <DOTNET-WEBDISCUSS.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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )