Registering JavaScript code in server control
<p>I need some help with jQuery. At the moment I am building my server control that has div in it. Inside that div there is an iFrame. I want to be able to resize my div with jQuery. I have acomplished this through simple samples. </p>

<p>As Ive said, Im building a server control so I cannot add jQuerry manually on every page. It should be automated in a way that when I drag drop my control on designer surface I don't have to worry about resizing the Div.</p>

<p>Currently I am registering all the relevant *.js files in master page. I have a child page wich inherits master page. On that page I have my control. I cannot make a *.js file and register it as I can have multiple instances of same control. </p>

<p>Where do I register my script block? How is it done?</p>

<p>Any clarification on this would be highly appreciated.</p>

<p>Thank you in advance.</p>
