Quick Links
ASP.NET Window Documentation - Client-side Functions
<%@ Register TagPrefix="owd" Namespace="OboutInc.Window" Assembly="obout_Window_NET" %>
Window Client-side Functions
Name
Description
Open()
When called, the Window will open.
oWindow.Open();
Close()
When called, the Window will close.
oWindow.Close();
setUrl(txtUrl)
When called, Window will load the specified url.
View example
oWindow.setUrl("http://www.obout.com");
setMode(txtMode)
New
Set mode to Window: either
normal
mode or
maximize
mode
oWindow.setMode('normal');
oWindow.setMode('maximize');
PinOff(bpinoff)
New
Turn on/off PinOff mode.
oWindow.PinOff(true);
setPosition(x,y)
Move Window to (x,y) position
oWindow.setPosition(100,200);
getPosition()
Return object contain position of Window
oPos = oWindow.getPosition();
alert("top:"+oPos.top);
alert("left:"+oPos.left);
setSize(width,height)
Change size of Window
oWindow.setSize(300,200);
getSize()
Return object contain size of Window
oSize = oWindow.getSize();
alert("width:"+oSize.width);
alert("height:"+oSize.height);
setTitle(txtTitle)
Set title of Window
oWindow.setTitle('my Window')
setIconPath(txtIconPath)
Set icon of Window
oWindow.setIconPath('images/ie.gif')
setOpacity(intOpacity)
Set the transparency level of Window, the value of opacity ranges from 0 to 100.
oWindow.setOpacity(50)
getOpacity()
Return current transparency level of Window
var currentOpacity = oWindow.getOpacity();
setzIndex(intzIndex)
Set zIndex level for Window
oWindow.setzIndex(1000)
getzIndex()
Return zIndex of Window
alert("zIndex" + oWindow.getzIndex());
bringToFront()
Make a window be in front of other windows
oWindow.bringToFront();
screenCenter()
New
Make a window position at the center of screen.
This function does not guarantee that Window will maintain center position when browser is resized.
oWindow.screenCenter();
setStatus(txtStatus);
Set the window status text
oWindow.setStatus('window Status');
Function - oWindowManager
Name
Description
newWindow()
New
Create Window at client-side. Function will return object of new window created.
Full command is:
oWindowManager.newWindow(
txtWinID,[txtUrl],[bClose],[bMaximize],[bStatusBar],
[bResizable],[bDraggable],[bIsModal]
);
Note:
Those parameters in [] are optional.If
[txtUtl]
is specified, Window will turn to webload mode.
Example:
var oWin = oWindowManager.newWindow('newWin');
var oWin = oWindowManager.newWindow('newWin','http://www.obout.com');
var oWin = oWindowManager.newWindow('newWin',null,false);
var oWin = oWindowManager.newWindow('newWin',null,null,true);
getWindows()
New
Return list of all windows.
var window_list = oWindowManager.getWindows();
getWindowById(txtId)
New
Find and return window with specific id
var oWin = oWindowManager.getWindowById('myWindow');
getActiveWindow()
New
Return object of current active window.
var current_focus_window = oWindowManager.getActiveWindow();
"
I am always impressed how receptive your company is towards feedback.
"
Markus Neuhoff
Grand Valley State University
Random testimonial
All testimonials
obout.com
obout.com Home
News
Window Home
Window Home
Download
Site Map
Examples
- 9
Appearance
- 2
Live Styles
Window show
Dialog
- 4
Custom Alert
Update content
Update content with MS AJAX
With Grid
Integration
- 2
Window with Easy Menu
Window with Splitter
Client-side Window Extras
- 1
Alert window
Knowledge Base - 1
Knowledge Base
Documentation
- 5
Dialog
Server-side properties
Client-side functions
Window
Server-side properties
Client-side functions
ChangeLog
Tutorials
- 9
IsResizable
MinWidth & MinHeight
RelativeElementID
ShowStatusBar
OverFlow
Url
Control Window
Screen Center
Page Opacity
ASP.NET 2.0-4.0
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Show
Spell Checker
Splitter
Super Form
Tab Strip
TreeView
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Combobox
AJAX Autosuggest
Multilevel Combobox
State Selector
Interface Controls
Button
Checkbox
Dropdown List
Multiline Textbox
Radio Button
Textbox
ASP.NET 3.5-4.0
Color Picker
File Upload
HTML Editor
Spell Checker
TreeView
ASP.NET MVC
Combobox
HTML Editor
Interface Controls
Listbox
Multilevel Combobox
Multilevel Listbox
State Selector
Download
Suite for ASP.NET
Customer log-in
Support
Knowledge base
Contact support
Install FAQ
Mailing list
Purchase
Purchase page
Contact Sales
License info
Terms of use
Company
Testimonials
Clients
Contact us