PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV, WEBDEV and WINDEV Mobile 26 feature!
  • Difference with InAJAXMode
  • Availability of the function
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
AJAXCallInProgress (Function)
In french: AppelAJAXEnCours
Used to determine if the request being processed is an AJAX request.
Example
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 AWP 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 is available for all the products to allow for a multi-product code. Functions or procedures that use AJAXCallInProgress can be shared between several products without generating any compilation error.
Business / UI classification: Neutral code
Component: wd260vm.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment