AjaxRequestEventArgs Properties |
The AjaxRequestEventArgs type exposes the following members.
Name | Description | |
---|---|---|
BulkContext |
Gets/sets the context of the current bulk operation, if any.
If this event is part of a bulk operation, this is the context of that bulk operation.
If this event is not part of a bulk operation, this context will be null.
(Inherited from EAPEventArgs.) | |
ErrorDeveloperMessage |
An optional, developer-specific error message. This will be logged to the Devlog and xot_request_log, but
only displayed in user error messages when the user is identified as IsDeveloper.
(Inherited from EAPEventArgs.) | |
ErrorMessage |
Sets the extention's error message for this event.
(Inherited from EAPEventArgs.) | |
ErrorOptions |
Options used to specify additional characteristics about an exception.
(Inherited from EAPEventArgs.) | |
Event |
Gets/Sets the event that is currently executing.
(Inherited from EAPEventArgs.) | |
JsonResponse |
The JSON response. The HTTP response will be cleared and this JSON string will be written to the response.
If the extension DOES NOT want this value written to a cleared response object, set the ExtResults.HandledByExt
or ExtResults.ContinueNoExec result in the event args. Note that a cancel result will also prevent the HTTP
response from being modified.
See TextResponse for returning a text-only response.
| |
Params |
The collection of request parameters from the HTTP Request object.
| |
RequestName |
The name of the AJAX request. Note that this corresponds to the HTTP Request "reqnm" parameter value.
| |
Result |
Gets/Sets the result to return from the event.
(Inherited from EAPEventArgs.) | |
TextResponse |
The non-JSON text response provided in lieu of a JsonResponse.
If set, the request's HttpResponse object will be cleared, and this content written to it.
The text may be plain text, html, or a json string as expected by the caller.
If the extension DOES NOT want this value written to a cleared response object, set the HandledByExt
or ContinueNoExec result in the event args. Note that a cancel result will also prevent the HTTP
response from being modified.
See JsonResponse for returning a JSON response.
|