New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Events Overview

Client-side events for RadAjaxManager/RadAjaxPanel

RadAjaxManager and RadAjaxPanel both descend from RadAjaxControl . RadAjaxControl introduces the AjaxClientEvents property that contains the following events:

Name Description
OnRequestStart Fired when a request to the server is started.
OnResponseEnd Fired when a response from the server is processed.

To use these events, simply write a JavaScript function that can be called when the event occurs(Example 1 ). Then assign the name of the JavaScript function as the value of the the corresponding property.

Example 1: Displays a message when request starts and ends.

<script type="text/javascript">
    function requestStart(sender, eventArgs) {
        alert('Request start');
    function responseEnd(sender, eventArgs) {
        alert('Response complete');
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" ClientEvents-OnRequestStart="requestStart" ClientEvents-OnResponseEnd="responseEnd" >
    <telerik:RadButton RenderMode="Lightweight" runat="server" Text="Click me!"></telerik:RadButton>

See Also

In this article