Home | Sign in | English UK
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and QueriesWindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPadJavaPHPAjaxUser code (UMC)External languageHFSQLHFSQL Client/ServerStored proceduresHyper File 5.5OLE DBODBCNative Accesses

PageRefresh (Function)
In French: PageActualise

Refreshes a page displayed in the browser of the Web user from the context found on the server.

Caution: The page context must exist on the server. The page context is created by PageDisplay and ContextOpen.

// Refresh PAGE_Page1

PageRefresh([<Page Name>])
<Page Name>: Character string (with or without quotes)
Name of the page to refresh.

If this parameter is not specified or if it corresponds to an empty string (""), the name of the page corresponds to the page to which the current process belongs.


Using PageRefresh in a process 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 PageRefresh is used in a process in AJAX mode ("AJAX enabled" is displayed in the process bar) and if this process is used to solely or systematically refresh a page, the AJAX technology becomes useless. In AJAX mode, PageRefresh must be reserved for special cases.

During a long process, AJAXExecuteAsynchronous allows you to display a wait message.

Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment