Run a jQuery script from resource file of UserControl to the Client's Script Manager
<p>I have a User Control that have a global resource with a string value that is jQuery script.
I want to run this script in client side,
the scenario in my mind (actually in my project manager mind) is that 
1-we need a http handler for pass value from resource to client
2-we need to check: is any script manager defined in client, if not throw an exception,
we find this script manager by move in the parents of the user control until find page or master page, so search the controls of the page(or master page) and find script manager
3-we need a way for run the mentioned script to this script manager</p>

<p>do you have any idea for this implementation? how can i do? </p>
