you can use RegisterClientScriptBlock to include the javascript, either the
actual code or link. The style is more difficult. most control just have a
property to set the class name, and don't worry about defining the class.
you could write a style control, that allowed your user control to register
their css links.
-- bruce (sqlwork.com)
"Lukas Kurka" <ku******@seznam.cz> wrote in message
news:e2**********@ns.felk.cvut.cz...
Hi,
I have an User Control which uses css and javascript files. How should I
add them to the main page? When I place this User Control twice on the
page, how to add reference to these files only once.
Thanks
Lukas