How to call a javascript function from aspx.cs page

Nithadeepak
Posted by Nithadeepak under ASP.NET category on | Points: 40 | Views : 3603
ClientScript.RegisterStartupScript(typeof(Register), "script1", "<script type='text/javascript'>bodyOnLoad();</script>");


Here bodyOnLoad() is the javascript function

Comments or Responses

Login to post response