PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Using <Page>.Refresh in a event in AJAX mode
  • Pre-launched sessions
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
Refreshes a page displayed in the browser of Web user from the context found on server. This function is mainly used for sites in Session mode.
Caution: The page context must exist on the server. The page context is created by <Page>.Display and ContextOpen. All the events linked to the page or to the controls have already been run.
Versions 24 and later
Ajax This function is now available in Ajax mode.
New in version 24
Ajax This function is now available in Ajax mode.
Ajax This function is now available in Ajax mode.
Example
// Refresh PAGE_Page1
PAGE_Page1.Refresh()
Syntax
<Page>.Refresh()
<Page>: Page name
Name of the page to refresh.
Remarks

Using <Page>.Refresh in a event in AJAX mode

Reminder: AJAX is used to refresh the data modified in an HTML page without redisplaying the entire page. See AJAX for more details.
If <Page>.Refresh is used in an event in AJAX mode ("AJAX enabled" is displayed in the event bar) and if this event is used to solely or systematically refresh a page, the AJAX technology becomes useless. In AJAX mode, <Page>.Refresh must be reserved for special cases.
During a long process, AJAXExecuteAsynchronous allows you to display a wait message.
Versions 20 and later

Pre-launched sessions

If your project uses pre-launched sessions, this function must not be used in the "Initializing" event of the project. This function must be used in the event "Initializing the project after connection to the site".
New in version 20

Pre-launched sessions

If your project uses pre-launched sessions, this function must not be used in the "Initializing" event of the project. This function must be used in the event "Initializing the project after connection to the site".

Pre-launched sessions

If your project uses pre-launched sessions, this function must not be used in the "Initializing" event of the project. This function must be used in the event "Initializing the project after connection to the site".
Component : wd250page.dll
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment