For Answers, see/post comments

How to write ScriptManager and Javascripts for Ajax

When using Ajax Update panels on a page , simple javascript functions do not work as these scripts are not in the "ScriptManagers pool", to execute javascripts like for eg an alert do the following:
ScriptManager.RegisterStartupScript(this,typeof(Page), "alertFn", "alert('test');", true);

No comments: