Programmatically adding Javascript File to User Control in .net
Posted
by gnomixa
on Stack Overflow
See other posts from Stack Overflow
or by gnomixa
Published on 2009-02-06T18:48:05Z
Indexed on
2010/03/25
12:13 UTC
Read the original article
Hit count: 471
How do you add Javascript file programmatically to the user control?
I want the user control to be a complete package - ie I don't want to have to add javascript that's related to the user control on the page where it's used, when I can do it inside the control itself.
Since there is no Page object in the user control, how would you do it?
© Stack Overflow or respective owner