|
-
Jul 3rd, 2003, 09:51 AM
#1
Thread Starter
Addicted Member
Custom Control grabs parent page's elements?
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|