Re: register css style ***
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Mon, 23 Oct 2006 16:42:43 -0400
re:
Can't remember where I saw this
This looks identical...and he claims he couldn't find it on the Internet,
which is why he posted it at the Code Project :
http://www.codeproject.com/aspnet/setcssfilelink.asp
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John Timney (MVP)" <x_john@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:uN6dnblW4eT4vKDYRVnysw@xxxxxxxxxxxxxxxxx
Not as such, but you can dynamically allocate them via attributes if thats what your looking for.
<head>
<link id="cssStyle***" rel="style***" type="text/css" runat="server" />
</head>
Sub Page_Load(Sender As Object, E As EventArgs)
If Not (IsPostBack)
cssStyleSheet.Attributes.Add("href","Stylesheet1.css")
End If
End SubCant remember where I saw this but its probably what your looking
for.
Its about as close as you'll get to registerclientscript for css files.
--
Regards
John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
"Lukas Kurka" <kurin123@xxxxxxxxx> wrote in message news:ehj5ji$28cq$1@xxxxxxxxxxxxxxxxxx
I know about registerclientscript, but is there something for style*** in ASP.NET 2.0
Lukas
.
- Follow-Ups:
- Re: register css style ***
- From: John Timney \(MVP\)
- Re: register css style ***
- References:
- register css style ***
- From: Lukas Kurka
- Re: register css style ***
- From: John Timney \(MVP\)
- register css style ***
- Prev by Date: Re: TRACE doesn't work on the remote box
- Next by Date: Re: browser detection and redirection
- Previous by thread: Re: register css style ***
- Next by thread: Re: register css style ***
- Index(es):
Loading