Execute JavaScript in ASP.NET Code Behind
If you want to execute JavaScript in code behind for example after an event, you can:
ScriptManager.RegisterStartupScript(this, GetType(), "anyName", "myScript();", true);
Comments