Telerik: Running Javascript after Ajax Postback

RadAjaxPanel1.ResponseScripts.Add("alert('i hate microsoft (and telerik too)');");
The trick here is to add functions to globally available scripts (I attached my functions to a script loaded in the master page) and call them from within an Update Panel. In this case a RadAjaxPanel. One day I might figure out why ScriptManager.RegisterStartupScripts doesn't do anything, yet doesn't throw an error either. Until then, this is my solution.

0 comments: