R
Rob Mayo
I was wondering...
How could I grab the <HEAD> tag of the parent page of a Custom Control?
I'm basically writing a client-side calendar control that has style properties that i would like to set via a style sheet, rather than implementing my own font properties.
I want to be able to grab the <HEAD> tag of the parent page (either as an object or text) and parse it to determine if my <LINK> tag has been applied. If it has not, then I want to add the tag programmatically. I could apply the same concept to script with
IsClientScriptBlockRegistered and
RegisterClientScriptBlock
but how can I do this for a <LINK> tag or a <STYLE> tag?
How could I grab the <HEAD> tag of the parent page of a Custom Control?
I'm basically writing a client-side calendar control that has style properties that i would like to set via a style sheet, rather than implementing my own font properties.
I want to be able to grab the <HEAD> tag of the parent page (either as an object or text) and parse it to determine if my <LINK> tag has been applied. If it has not, then I want to add the tag programmatically. I could apply the same concept to script with
IsClientScriptBlockRegistered and
RegisterClientScriptBlock
but how can I do this for a <LINK> tag or a <STYLE> tag?