# ResponseEnd event

The `ResponseEnd` client-side event handler is called when a request is received from the server. The event can not be cancelled.

Two parameters are passed to the event handler with the following methods:

* `sender`—The instance of the client-side `RadAjaxManager` /`RadAjaxPanel` object.

* `eventArgs`—Provides the following methods:

  * `get_eventTarget()`—Gets the `UniqueID` of the element that had raised the request.

  * `get_eventArgument()`—Gets the string passed in the initial AJAX request.

  * `get_eventTargetElement()`—Gets the instance of the client-side object that raised the AJAX request.

The following example displays the control that initiated the request.

```ASP.NET
<script type="text/javascript">
	function responseEnd(sender, eventArgs) {
	    alert('Response end initiated by: ' + eventArgs.get_eventTarget());
	}
</script>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
	<ClientEvents OnResponseEnd="responseEnd" />
</telerik:RadAjaxManager>
```

## See Also

* [AjaxManager Overview](https://www.telerik.com/products/aspnet-ajax/documentation/controls/ajaxmanager/overview)
* [Demo: AjaxManager Client-Side API](https://demos.telerik.com/aspnet-ajax/ajax/examples/manager/clientsideapi/defaultcs.aspx)
