Occurs whenever the client-side function AjaxRequest(arguments) is called.
Alternatively the event is fired with AjaxRequestWithTarget(eventTarget, eventArgument)
when the eventTarget is the UniqueID of the AJAX Manager
instance.
When the manager ajaxifies itself it will perform an AJAX request, otherwise
it will postback to the server (this is the default behavior).
Example
<script type="text/javascript">
RadAjaxManager1.AjaxRequest(event_argument);
</script>
Event Data
The event handler receives an argument of type AjaxRequestEventArgs containing data related to this event. The following AjaxRequestEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Argument |
Returns the name of the AJAX request event.
|
Namespace: Telerik.WebControls
Assembly: RadAjax (in RadAjax.dll)
Syntax
| Visual Basic (Declaration) | |
|---|
Public Event AjaxRequest() As RadAjaxManager.AsyncRequestDelegate |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As RadAjaxManager
Dim handler As RadAjaxManager.AsyncRequestDelegate
AddHandler instance.AjaxRequest, handler
|
| C# | |
|---|
public event RadAjaxManager.AsyncRequestDelegate AjaxRequest() |
Event Data
The event handler receives an argument of type AjaxRequestEventArgs containing data related to this event. The following AjaxRequestEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Argument |
Returns the name of the AJAX request event.
|
Example
<script type="text/javascript">
RadAjaxManager1.AjaxRequest(event_argument);
</script>
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also