RegisterClientScriptBlock: places the script right after the <form>
RegisterStartupScript: places the script before </form> (after all controls)
to place it anywhere else, use a placeholder control, say
<head runat=server id=header>
</head>
then using the generic control, add script:
HtmlGenericControl sc = new HtmlGenericControl("script");
sc.InnerHtml = javascriptCode;
header.Controls.Add(sc);
-- bruce (sqlwork.com)
"DaveF" <df*****@geodecisions.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl...
Is there any way to to build javascrip on the client and place it exactly
where I want it in the html?
--
Dave