ASP.NET Window Documentation - Control Properties

<%@ Register TagPrefix="owd" Namespace="OboutInc.Window" Assembly="obout_Window_NET" %>
Properties - Position And Size
Name Description
propertyLeft Gets or sets Left position of Window when Position property is set to CUSTOM. Optional

oWindow.Left=200;
 
propertyTop Gets or sets Top position of Window when Position property is set to CUSTOM. Optional

oWindow.Top=200;
 
propertyWidth Gets or sets Width of Window. Optional

oWindow.Width=400;
 
propertyHeight Gets or sets Height of Window. Optional

oWindow.Height=300;
 
propertyMinWidth Gets or sets minimum Width that window can be resized. Optional

View example

oWindow.MinWidth=300;
 
propertyMinHeight Gets or sets minimum Height that window can be resized. Optional

View example

oWindow.MinHeight=100;
 

Properties - Behaviours

Name Description
propertyVisibleOnLoad Gets or sets whether Window will be open when page finishes loading  Optional

oWindow.VisibleOnLoad = true;
 
propertyInitialMode 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;
 
propertyIsModal Gets or sets whether background will be blocked when Window appears. Optional

oWindow.IsModal = true;
 
propertyIsDraggable Gets or sets whether window can be dragged. Optional

oWindow.IsDraggable = true;
 
propertyIsResizable Gets or sets whether can be resized. Optional

View example

oWindow.IsResizable = true;
 

Properties - Displays

Name Description
propertyStyleFolder Gets or sets folder that contain style of Window

oWindowManager.StyleFolder = "wdstyles/xpluna";
 
propertyDebugMode New Set DebugMode to false will make Window not show error message. Optional

oWindow.DebugMode = false;
 
propertyOpacity Gets or sets opacity level of window (0-100). Optional

oWindow.Opacity = 90;
 
propertyPageOpacity New Gets or sets opacity level page background when Window is in Modal mode (0-100). Optional

oWindow.PageOpacity = 30;
 
propertyShowStatusBar Gets or sets whether window will show statusbar. Optional

View example

oWindow.ShowStatusBar = true;
 

Properties - Header Settings

Name Description
propertyTitle Gets or sets title of window. Optional

oWindow.Title = "Hello world";
 
propertyIconPath Gets or sets path of icon in Window header. Optional

oWindow.IconPath= "xp.gif";
 
propertyShowMaximizeButton New Gets or sets whether maximize button is shown. Optional

oWindow.ShowMaximizeButton= true;
 
propertyShowCloseButton Gets or sets whether close button is shown. Optional

oWindow.ShowCloseButton= false;
 

Properties - Events

Name Description
propertyOnClientInit Gets or sets javascript to be executed after dialog initiates  Optional

oDialog.OnClientInit = "alert('Init done')";
 
propertyOnClientPreOpen Gets or sets javascript to be executed before Window start opening  Optional

oWindow.OnClientPreOpen= "alert('Start opening')";
 
propertyOnClientOpen Gets or sets javascript to be executed after Window opens  Optional

oWindow.OnClientOpen= "alert('Window has opened')";
 
propertyOnClientPreClose New Gets or sets javascript to be executed before Window start closing. Optional

oWindow.OnClientPreClose= "alert('Start closing')";
 
propertyOnClientClose Gets or sets javascript to be executed after Window closes  Optional

oWindow.OnClientClose= "alert('Window has closes')";
 
propertyOnClientDrag New Gets or sets javascript to be executed after Window is dragged  Optional

oWindow.OnClientDrag= "alert('Window has been dragged')";
 
propertyOnClientResize New Gets or sets javascript to be executed after Window is resized by user  Optional

oWindow.OnClientClose= "alert('Window has been resized')";
 

Properties - Extras

Name Description
propertyEnableClientSideControl Gets or sets whether the extra clientside functions such as windowalert() are available Optional

oWindow.EnableClientSideControl = true;
 
propertyRelativeElementID Gets or sets the ID of element which Windows will have relative position to Optional

View example

oWindow.RelativeElementID = "myDiv";
 

Properties - Content Settings

Name Description
propertyOverFlow Gets or sets overflow property for Window Optional

View example

Allowed value are:
HIDDEN
AUTO
SCROLL

oWindow.OverFlow = OverflowStyles.AUTO;
 
propertyUrl Gets or sets Url which will be loaded into Window Optional

View example

oWindow.Url = "http://www.obout.com";