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();
"
Thanks, all my problems are solved, great products... Thanks again!
"
Tony Chen
obout.com
obout.com Home
News
Window Home
Window Home
Download
Site Map
Examples
Styles
Default
XPluna
Blue
Aura
Dogma
Window show
Client-side Window Extras
Alert window
Integration
Window with Easy Menu
Window with Splitter
Dialog
Custom Alert
Update content
Update content with MS AJAX
With Grid
Knowledge Base - 1
Knowledge Base
Documentation
Dialog
Server-side properties
Client-side functions
Window
Server-side properties
Client-side functions
ChangeLog
Tutorials
IsResizable
MinWidth & MinHeight
RelativeElementID
ShowStatusBar
OverFlow
Url
Control Window
Screen Center
Page Opacity
Products
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Scheduler
Show
Spell Checker
Splitter
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 MVC
Interface Controls
Download
Download page
Install FAQ
Tech Support
Our clients
Testimonials
Support
Support
Purchase
Purchase page
Contact Sales
License info
Sales FAQ
Customer login
Print Invoice
Installation
Company
Legal
Clients
Testimonials
Contact