|
|
|
|
- Difference with InAJAXMode
- Availability of the function
AJAXCallInProgress (Function) In french: AppelAJAXEnCours Used to determine if the request being processed is an AJAX request.
IF NOT AJAXCallInProgress() THEN // Fill the chart ... END
Syntax
<Result> = AJAXCallInProgress()
<Result>: Boolean - True if the request being processed is an AJAX request,
- False otherwise.
Remarks Difference with InAJAXMode AJAXCallInProgress is different from InAJAXMode. InAJAXMode returns True during the AJAX action (the process or procedure) and returns False in the other cases. In Active WEBDEV Pages, the initialization code of the project, classes, sets of procedures, page and controls is also executed at each call. During these initializations: - InAJAXMode returns False.
- AJAXCallInProgress returns True.
AJAXCallInProgress also returns True in the closing code of the project, classes, sets of procedures, pages, etc. AJAXCallInProgress allows you to make optimizations by ignoring some unnecessary initializations during the call. Availability of the function AJAXCallInProgress can be used in all IDEs to allow for cross-platform code. Functions or procedures that use AJAXCallInProgress can be shared between several products without generating any compilation error. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|