Hello friends ,
I have Created JavaScript Function in Js File Like
function RecordNotFound() {
alert("Rocord Not Found");
}
So how Can Call this Function C# Class ?
public class RecordNotFound
{
?? JavaScript Function
}
Thanks .
Ravi PatelPosted Feb 24, 2016, 7:15 AM
code behind
{
ScriptManager.RegisterStartupScript(this, GetType(), "myFunction", "myFunction();", true);
}
Amit Kumar SinghPosted Feb 24, 2016, 7:00 AM
ClientScript.RegisterStartupScript(this.GetType(), "Function()", sb.ToString(), true);Amit KumarPosted Feb 24, 2016, 6:34 AM
Anu VPosted Feb 24, 2016, 6:21 AM
Raja TPosted Feb 24, 2016, 6:17 AM