Friday, January 6, 2012

How to call Javascript code using Asp.Net


In the below code, Pop_close() is a javascript method.

 //string script = "<script language='javascript'> ";
                 //script += "popup_close();";
                 //script += "</script>";
                 //Page.RegisterClientScriptBlock("ClientScript", script);