Possible Duplicate:
Can .NET intercept and change css files?
I have configured IIS6 to get .NET to handle css files.
I did the following steps
- Launch IIS Manager
- Right-click on Default Web Site
- Click on the Home Directory tab
- Under Application Settings click on Configuration...
- Add a new association for .css and map it to .NET executable:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
How can I check if this is working, i.e. I want to change the default style of a page depending on the url, i.e. if the referer url is http://intranet, it should continue to use the old existing style style1.css
, if the referer url is http://intranetv2, it should use the new style style2.css
.