Hi Steve,
I would not try to include the scripts the way you are doing it. I would create a method in code named SetupScript() and call it from the page load of the user control. In the SetupScript() method use code like this:
Page.ClientScript.RegisterClientScriptBlock(typeof(Page),
"idforyourscript", "\n<script src=\""
+ Page.ResolveUrl("~/ClientScript/path/to/uoirscript.js") + "\" type=\"text/javascript\" ></script>");
I would use StringBuilder from your user control to setup the jquery init script and you need to add it like this example:
string initAutoScript = " $('div.mojo-accordion').accordion(); $('div.mojo-accordion-nh').accordion({autoHeight: false}); $('div.mojo-tabs').tabs(); ";
Page.ClientScript.RegisterStartupScript(typeof(Page),
"myui-init", "\n<script type=\"text/javascript\" >"
+ initAutoScript + "</script>");
Hope it helps,
Joe