RadWindow manager
RadWindow manager manages all rad window objects on the page.
Both RadWindowManager and RadWindow inherit from RadWindowBase which defines a
set of common properties. For easier customization, the common properties that
are set in RadWindowManager apply to all child RadWindow controls, and each
individual RadWindow can override these with a new value.
RadWindowManager defines a number of properties that are specific to it only,
and control the look and behavior of all windows.
The server-side properties that are unique to RadWindowManager are:
- Skin (specifies the skin of the windows. Default skins
are located in the RadControls/Window/Skins folder. New
skin folders can be easily created using the default skins as a base)
- Language (specifies the localization to use for the
windows - there are three default localizations - English, German and French,
located in the RadControls/Window/Localization folder)
- UseClassicWindows (reverts to using the default browser
dialogs for situations such as low level browsers or the page itself being
displayed in a small window)
- SingleNonMinimizedWindow (if true - autoamtically minimizes
all windows but the current active window. Allows for saving screen space.)
- ClientCallBackFunction (the name of the clientside
javascript function that will be called automatically when a RadWindow dialog
is closed).
- Shortcuts collection (allows to associate keyboard
shortucts for the manager public API commands)
Other properties that are likely to be set to RadWindowManager
- VisibleOnPageLoad - (if true it will automatically make
visible all windows from the windows collection when the page is loaded. By
default this value is false.)
- OffsetElementId - the id of an html element, whose upper
left corner will be used by window objects to position themselves when showing.
Commonly used in combination with Top and Left
properties to psecify additional offsets.
- MinimizeZoneId - the id of an html element that will
be used as a docking zone when a window is minimized
- InitialBehavior - specifies whether the windows will
be minimized or maximized initially (values can be added together - for
example in addition you can specify whether to pin the windows)
- Behavior - specifies whether the window can be
maximized, minimized, resized, closed, pinned by the user.
On the client-side, the RadWindowManager object is used for providing a
reference to the current active window, to open new windows, to take care of
the alert/confirm/prompt dialogs, to manage the minimization modes.