User-1838255255 posted
Hi anooshiravan,
After reading your description, i make a sample to test through your description, i tested it in Chrome, IE, Edge, i found it works. Here is my test code, please check:
<head runat="server">
<title></title>
<script>
function pageLoad() {
alert("Success!");
}
</script>
</head>
protected void Page_Load(object sender, EventArgs e)
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "pageLoad()", true);
}
You say it doesn't work in the other browsers, could you post the detailed error message if you meet? Also i hope you could post your complete sample code for us to test.
Best Regards,
Eric Du