RadControls for ASP.NET AJAX
The OnRequestStart client-side event handler is called when a request to the server is started. The event can be initially triggered by an initiating control configured in RadAjaxManager settings, a control within a RadAjaxPanel or by a client-side ajaxRequest() call. The event can be canceled.
Two parameters are passed to the event handler with the following methods:
The following example uses displays the control that initiated the request.
CopyASPX
<script type="text/javascript">
function requestStart(sender, eventArgs) {
alert('Request start initiated by: ' + eventArgs.get_eventTarget());
}
</script>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<ClientEvents OnRequestStart="requestStart" />
</telerik:RadAjaxManager>
See Also