[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webcontrols

Can I register a CSS file - like javascript?

=?Utf-8?B?cm9kY2hhcg==?=

2/10/2004 11:31:00 PM


I like the idea that I can register a javascript file using RegisterClientScriptBlock
This means that any page using my control will also pull in the required javascript

I would also like the page that is using my control to pull in a css file. Is there any way to do this
i.e. instead of a script statement, I want to render a link statement like this
<LINK href="/WebSite/css/myControlStyles.css" type="text/css" rel="stylesheet"

Thank
graha