[thelist] (OT) Stylesheet based on URL
Ken Schaefer
ken at adOpenStatic.com
Thu Nov 6 06:10:06 CST 2003
Missing a few quote marks in there!
theHead.Controls.Add(New LiteralControl("<link rel=""stylesheet""
type=""text/css"" href=""/inc/CSS/" & strStyleSheetName & """>")
but you get the idea...
Cheers
Ken
Microsoft MVP - Windows Server (IIS)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Ken Schaefer" <ken at adOpenStatic.com>
Subject: Re: [thelist] (OT) Stylesheet based on URL
: There lots of ways - you could create your own class that inherits from
: Page, and exposes a property that you set (for example), but assuming
you're
: just writing an .aspx page. One of the benefits of ASP.Net is that you
don't
: need the ugly inline spaghetti mess that characterised ASP (and a lot of
: other interpreted languages of the same vintage).
<snip>
More information about the thelist
mailing list