AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas de la Web / Funciones de páginas
  • Using PageRefresh in a event in AJAX mode
  • Pre-launched sessions
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Refreshes a page displayed in the user's browser from the context on the server. This function is mainly used for sites in Session mode.
Please note The page context must exist on the server. The page context is created by PageDisplay and ContextOpen. All the events linked to the page or to the controls have already been run.
Ejemplo
// Refresh PAGE_Page1
PageRefresh(PAGE_Page1)
Sintaxis
PageRefresh([<Page>])
<Page>: Page name
Name of the page to refresh.
If this parameter is not specified or is an empty string (""), the page name corresponds to the page related to the current event.
Observaciones

Using PageRefresh in a event in AJAX mode

Reminder AJAX allows you to refresh only the data modified in an HTML page without redisplaying the entire page. For more details, see AJAX.
If PageRefresh 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, PageRefresh must be reserved for special cases.
During a long process, AJAXExecuteAsynchronous allows you to display a wait message.

Pre-launched sessions

If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initialization in pre-launched session mode" event.
Componente: wd300page.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 16/01/2025

Señalar un error o enviar una sugerencia | Ayuda local