ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "tmp", "<script type='text/javascript'> myFunc()</script>", false);
Page.ClientScript.RegisterStartupScript(this.GetType(),"alert","myFunc();",true);
<script type="text/javascript"> function myFunc() { window.alert('hii'); } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)