ASP.NET, C#, JavaScript - How to call javascript function from codebehind file?

by Evgelen 9. December 2009 18:14

Example

1. Client Side


2. Codebehind file

protected void btnSubmit_Click(object sender, EventArgs e)
{
  const string script = "";
  ClientScript.RegisterClientScriptBlock(GetType(),"ClientScript", script);
}

Tags: , ,

JavaScript

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Tag cloud