S
shapper
Hello,
I am adding, in a page, a reference to a CSS file at runtime as
follows:
Dim base As HtmlGenericControl = New HtmlGenericControl("style")
With base
.Attributes.Add("type", "text/css")
.Attributes.Add("media", "Screen")
.InnerText = "@import url(App_Assets/PT/Styles/Base.css);"
End With
Page.Header.Controls.Add(base)
In which Page Event should I do this?
Thanks,
Miguel
I am adding, in a page, a reference to a CSS file at runtime as
follows:
Dim base As HtmlGenericControl = New HtmlGenericControl("style")
With base
.Attributes.Add("type", "text/css")
.Attributes.Add("media", "Screen")
.InnerText = "@import url(App_Assets/PT/Styles/Base.css);"
End With
Page.Header.Controls.Add(base)
In which Page Event should I do this?
Thanks,
Miguel