Page Utility Configuration

When an action is called, the Page Utility defines the window that is displayed. The Grid Display Adapter’s HTML Before property references the Page Utility by name, identifies the action to execute, and tells the Page Utility to load the action. A JavaScript helper file provided by CorasWorks (click here to download the file) makes sure all of this happens. It is meant to be used as is; modifications are not supported.

The Page Utility must be placed either on the same page as the Grid Display Adapter 2.0 or on the master page. In the example provided by CorasWorks, the Page Utility is placed on the master page so it can be called from all of the pages in the site.

In this example, the current page folder is used. However, the Common Use Variables listed at the beginning of this topic are supported.

Form Decorator Setup

(Located under Form Decorator Properties.)

<d>

<s>

<DecorationZoneID>viewstodecorate</DecorationZoneID>

<Skin>WebBlue</Skin>

</s>

</d>

 

Window Setup

(Located under Page Loader Setup Properties.) This is the main property for the Page Utility. It defines what is going to happen when the action is called.

<Window>

<Setup>

<ID>ModalForm</ID>

<Width>800</Width>

<Height>500</Height>

<VisibleOnPageLoad>false</VisibleOnPageLoad>

<VisibleStatusBar>false</VisibleStatusBar>

<Modal>true</Modal>

<Title>CorasWorks Action</Title>

<Skin>WebBlue</Skin>

</Setup>

</Window>