ASP.net Client script order issue
<p>I have a client script on a page, that calls a dynamic script generated by a user control using ClientScript.RegisterStartupScript. The user controls script is dynamic, the pages' static.</p>

<p>The issue I have, is the page client script cant find the function rendered by the user control. The method signatures match, everything is good. </p>

<p>However, the user controls script is contained on the page after the static script. Would this make a difference? If so, is there a way to render the script before the static script - according to the MSDN api docs the only way is to combine all scripts into one. </p>

<p>I don't have the luxury of doing this because the dynamic script uses the ClientID of the user control to uniquely identify itself - there is more than one occurrence of the user control.</p>

<p>Is there an easy way around this?</p>

<p>Cheers</p>
