Here Mudassar Ahmed Khan has explained with an example, how to call JavaScript function from Code Behind on Button Click in ASP.Net using C# and VB.Net.
In order to call the JavaScript function from Code Behind on Button Click, one has to make use of the RegisterStartupScript method of the ClientScript class in ASP.Net using C# and VB.Net.
↧