Dim header As Web.UI.HtmlControls.HtmlHead
header =
TryCast(Me.Page.Header, Web.UI.HtmlControls.HtmlHead)
If header IsNot
Nothing Then
Dim link As New HtmlLink
link.Attributes.Add("href", "~/whatever.css")
link.Attributes.Add("media", "screen")
link.Attributes.Add("rel",
"stylesheet")
link.Attributes.Add("type",
"text/css")
header.Controls.Add(link)
End If
Known is handful and unknown is worldful.
Regards,
Ajay Matharu
http://ajaymatharu.com
http://twitter.com/matharuajay