| Window Control Properties
|
| |
|
<%@ Register TagPrefix="owd" Namespace="OboutInc.Window" Assembly="obout_Window_NET" %>
Properties - Position And Size
Left
|
Gets or sets Left position of Window when Position property is set to CUSTOM. Optional
oWindow.Left=200;
|
Top
|
Gets or sets Top position of Window when Position property is set to CUSTOM. Optional
oWindow.Top=200;
|
Width
|
Gets or sets Width of Window. Optional
oWindow.Width=400;
|
Height
|
Gets or sets Height of Window. Optional
oWindow.Height=300;
|
MinWidth
|
Gets or sets minimum Width that window can be resized. Optional
View example
oWindow.MinWidth=300;
|
MinHeight
|
Gets or sets minimum Height that window can be resized. Optional
View example
oWindow.MinHeight=100;
|
|
|
|
|
Properties - Behaviours
VisibleOnLoad
|
Gets or sets whether Window will be open when page finishes loading Optional
oWindow.VisibleOnLoad = true;
|
InitialMode New
|
Gets or sets whether the initial mode of Window: normal or maximize. Default value is NORMAL Optional
Allowed values are:
NORMAL
MAXIMIZE
oWindow.InitialMode = InitialModes.MAXIMIZE;
|
IsModal
|
Gets or sets whether background will be blocked when Window appears. Optional
oWindow.IsModal = true;
|
IsDraggable
|
Gets or sets whether window can be dragged. Optional
oWindow.IsDraggable = true;
|
IsResizable
|
Gets or sets whether can be resized. Optional
View example
oWindow.IsResizable = true;
|
|
|
|
|
Properties - Displays
StyleFolder
|
Gets or sets folder that contain style of Window
oWindowManager.StyleFolder = "wdstyles/xpluna";
|
DebugMode New
|
Set DebugMode to false will make Window not show error message. Optional
oWindow.DebugMode = false;
|
Opacity
|
Gets or sets opacity level of window (0-100). Optional
oWindow.Opacity = 90;
|
ShowStatusBar
|
Gets or sets whether window will show statusbar. Optional
View example
oWindow.ShowStatusBar = true;
|
|
|
|
|
Properties - Header Settings
Title
|
Gets or sets title of window. Optional
oWindow.Title = "Hello world";
|
IconPath
|
Gets or sets path of icon in Window header. Optional
oWindow.IconPath= "xp.gif";
|
ShowMaximizeButton New
|
Gets or sets whether maximize button is shown. Optional
oWindow.ShowMaximizeButton= true;
|
ShowCloseButton
|
Gets or sets whether close button is shown. Optional
oWindow.ShowCloseButton= false;
|
|
|
|
|
Properties - Events
OnClientInit
|
Gets or sets javascript to be executed after dialog initiates Optional
oDialog.OnClientInit = "alert('Init done')";
|
OnClientPreOpen
|
Gets or sets javascript to be executed before Window start opening Optional
oWindow.OnClientPreOpen= "alert('Start opening')";
|
OnClientOpen
|
Gets or sets javascript to be executed after Window opens Optional
oWindow.OnClientOpen= "alert('Window has opened')";
|
OnClientPreClose New
|
Gets or sets javascript to be executed before Window start closing. Optional
oWindow.OnClientPreClose= "alert('Start closing')";
|
OnClientClose
|
Gets or sets javascript to be executed after Window closes Optional
oWindow.OnClientClose= "alert('Window has closes')";
|
OnClientDrag New
|
Gets or sets javascript to be executed after Window is dragged Optional
oWindow.OnClientDrag= "alert('Window has been dragged')";
|
OnClientResize New
|
Gets or sets javascript to be executed after Window is resized by user Optional
oWindow.OnClientClose= "alert('Window has been resized')";
|
|
|
|
|
Properties - Extras
EnableClientSideControl
|
Gets or sets whether the extra clientside functions such as windowalert() are available Optional
oWindow.EnableClientSideControl = true;
|
RelativeElementID
|
Gets or sets the ID of element which Windows will have relative position to Optional
View example
oWindow.RelativeElementID = "myDiv";
|
|
|
|
|
Properties - Content Settings
OverFlow
|
Gets or sets overflow property for Window Optional
View example
Allowed value are:
HIDDEN
AUTO
SCROLL
oWindow.OverFlow = OverflowStyles.AUTO;
|
Url
|
Gets or sets Url which will be loaded into Window Optional
View example
oWindow.Url = "http://www.obout.com";
|
|
|
|
|
| "Your controls are by far the best I've used. They put Infragistics to shame." |
Mike Collins |
|
| |
|