I use below code for call javascript's function from code behind but doesn't call function
//C#
Page.ClientScript.RegisterStartupScript(this.GetType(), "close panel", "CloseFunction()", true);
//javascript
function CloseFunction() {
alert("call");
}
Sumit Kesarwani
01-Sep-2014Page.ClientScript.RegisterStartupScript(this.GetType(), "close panel", "CloseFunction()",
true);