January 21st, 2009, 01:11 PM
[RESOLVED] Server Controls and Styles
Could someone explain or direct me to a reference to exlains the correct way to do this?
January 28th, 2009, 04:11 PM
Re: Server Controls and Styles
I figured out a way to do this.
Dim myStyle As New Literal()
myStyle.Text = "<style type=""text/css"">"
myStyle.Text += My.Resources.StyleSheet
myStyle.Text += "</style>"
myStyle.ID += UniqueID + "_myStyle"
If Page.Header.FindControl(myStyle.ID) Is Nothing Then
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.