hello
You can simple use "RegisterStartupScript" to run javascript from code behind page. eg.
code in page.aspx.cs would be something like this...
string strScript = "<script language=JavaScript> alert('hi')</Script>";
this.RegisterStartupScript("key",strScript);
Hope this may help
|