UpdatePanel method: PanelController class

Syntax

UpdatePanel()

Description

Use the UpdatePanel method to update the state of the panel definitions on the server with the modification made through any of the SetSiden* methods.

Note:

This method is not necessary when the PanelController object is initialized with AutoUpdate set to true.

Parameters

None

Returns

None

Example

import PT_PAGE_UTILS:*;
Local PT_PAGE_UTILS:PanelController &oPC = create PT_PAGE_UTILS:PanelController();
/* Multiple operations to be performed – auto-update disabled */
&oPC.Initialize( False); 
&oPC.SetSide1ModeFixed(); /* Change mode to fixed  */
/* Set force mode so that the panel can be forced open in fixed or collapsed */
/* primary mode as well as secondary overlay mode. */
&oPC.UseForceOpenModeSide1( True);
/* Set panel open (even in secondary overlay mode) */
&oPC.SetSide1OpenState( True); 
&oPC.UpdatePanel(); /* Perform all updates to Side1/Side2 panels */