Re: register css style ***



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





.


Loading