Window Setup

Controls the setup of the window.

Animation

Type: String

Controls the animation effect of the window.

Options:

      None

      Resize

      Fade

      Slide

      FlyIn

Behaviors

Type: String

Controls the actions that a user can take on the window. To include more than one action, separate each with a comma. (Example: Resize, Minimized, Pin)

      None – No behavior is specified

      Resize – Can be resized

      Minimize – Can be minimized

      Close – Can be closed

      Pin – Can be pinned

      Maximize – Can be maximized

      Move – Can be moved

      Reload – Will have a Refresh button

      Default – All

EnableAjaxSkinRendering

Type: Boolean

Indicates whether to render the skin CSS files during Ajax requests.

EnableInlineBaseStylesheet

Type: Boolean

Indicates whether to render the link to the Inline base style sheet.

EnableInlineScripts

Type: Boolean

Indicates whether to render script references to the Inline scripts.

EnableInlineSkins

Type: Boolean

Indicates whether to render links to the Inline skins.

Height

Type: Number

Sets the height of the window, measured in pixels.

IconUrl

Type: String

Controls the URL of the icon in the upper left corner of the title bar.

ID

Type: String

The ID used within the tags wrapped around the Inline HTML. This allows it to be referenced from JavaScript.

KeepInScreenBounds

Type: Boolean

Forces the screen to remain inside the parent window.

Left

Type: Number

Controls how far from the left hand side of the parent window the window opens.

MinimizeIconUrl

Type: String

Controls the URL of the minimize icon used in the window.

MinimizeZoneID

Type: String

The ID (ClientID if a runat=server is used) of an HTML element where the windows will be "docked" when minimized.

Modal

Type: Boolean

Controls whether the window will be loaded as a Modal dialogue, deactivating all content behind the window.

Name

Type: String

The name used within the tags wrapped around the Inline HTML. This allows it to be referenced from JavaScript.

NavigateUrl

Type: String

The URL to be loaded into the window.

OffsetElementID

Type: String

The ID (ClientID if a runat=server is used) of an HTML element whose left and top position will be used as 0,0 of the window when it is first shown.

OnClickShow

Type: String

The name of the JavaScript function used during this event.

OnClientActivate

The name of the JavaScript function used during this event.

OnClientClose

Type: String

The name of the JavaScript function used during this event.

OnClientCommand

Type: String

The name of the JavaScript function used during this event.

OnClientDragEnd

Type: String

The name of the JavaScript function used during this event.

OnClientDragStart

Type: String

The name of the JavaScript function used during this event.

OnClientPageLoad

Type: String

The name of the JavaScript function used during this event.

OnClientResize

Type: String

The name of the JavaScript function used during this event.

Overlay

Type: Boolean

Indicates whether the window will create an overlay element.

RestrictionZoneID

Type: String

The ID (ClientID if a runat=server is used) of an HTML element in which the windows will be able to move.

ShowContentDuringLoad

Type: Boolean

Indicates whether the page that is loaded in the window should be shown during the loading process, or when it has finished loading

Skin

Type: String

Controls the skin used in the window.

      Black

      Default

      Forest

      Hay

      Office2007

      Outlook

      Simple

      Sunset

      Telerik

      Vista

      Web20

      WebBlue

A sample of each is shown here:

Title: Sample - Window Skins - Description: Sample - Window Skins

 

Title

Type: String

Controls the title of the window.

Top

Type: Number

Controls how far from the top of the parent window the window opens.

VisibleOnPageLoad

Type: Boolean

Controls if the window is visible on page load.

VisibleStatusbar

Type: Boolean

Controls if the window status bar is visible in the window.

VisibleTitlebar

Type: Boolean

Controls if the window title bar is visible in the window.

Width

Type: Number

Controls the width of the window, measured in pixels.

Example:

<Window>

          <Setup>

                   <OnClientshow>OnClientOpen</OnClientshow>

                   <ID>CorasWorks</ID>

                   <Width>500</Width>

                   <Height>500</Height>

                   <VisibleOnPageLoad>true</VisibleOnPageLoad>

                   <VisibleStatusBar>false</VisibleStatusBar>

                   <Modal>false</Modal>

                   <Title>CorasWorks Home</Title>

                   <NavigateUrl>http://www.corasworks.net</NavigateUrl>

                   <Skin>WebBlue</Skin>

          </Setup>

</Window>

JavaScript Reference (Window Only)

CWChangeWindowLocationID/Name(‘url’, ‘windowtitle’);

Requires:      ID, Name, Height, Width

Enables you to, from within a page, cause a load of content from a specified URL without a page refresh.

Example:       CWChangeWindowLocationCorasWorks(‘http://www.corasworks.net’, ‘CorasWorks Home’);

 

Back to Top