G
Guest
I have an ASP.Net page which, depending on a parameter being passed via the
QueryString, needs to use a different stylesheet.
I've tried creating a runat="server" version of the link tag:
<link rel="stylesheet" type="text/css" href="" id="pageStyle" runat="server"
and then accessing it via code:
Select Case Request.QueryString("page")
Case "whiteboard"
pageStyle.href= "whiteboard.css"
Case ...
End Select
but this doesn't work.
How should I go about acheiving this?
Many thanks for any any help
Alan
QueryString, needs to use a different stylesheet.
I've tried creating a runat="server" version of the link tag:
<link rel="stylesheet" type="text/css" href="" id="pageStyle" runat="server"
and then accessing it via code:
Select Case Request.QueryString("page")
Case "whiteboard"
pageStyle.href= "whiteboard.css"
Case ...
End Select
but this doesn't work.
How should I go about acheiving this?
Many thanks for any any help
Alan