RadAjax for ASP.NET AJAX

RadControls for ASP.NET AJAX

Telerik RadAjax offers the ability to execute custom JavaScript code which comes as a response from the server thus giving you more flexibility to complete more specific or complex tasks on the client.

The best and most intuitive approach is to use the ResponseScripts property of the RadAjaxPanel or RadAjaxManager.

Here is a source code example which pops an alert when a Button is clicked:

Another approach, however, is to use the RegisterStartupScript static method of the ScriptManager class:

You can also use the pageLoaded event of the PageRequestManager class.