ASP.NET Window - Dialog - Client-side Functions

<%@ Register TagPrefix="owd" Namespace="OboutInc.Window" Assembly="obout_Window_NET" %>

Dialog Client-side Functions

Name Description
propertyOpen() When called, the Dialog will open.

oDialog.Open();
 
propertyClose() When called, the Dialog will close.

oDialog.Close();
 
propertysetPosition(x,y) Move Dialog to (x,y) position

oDialog.setPosition(100,200);
 
propertygetPosition() Return object contain position of Dialog

oPos = oDialog.getPosition();
  alert("top:"+oPos.top);
  alert("left:"+oPos.left);
 
propertysetSize(width,height) Change size of Dialog

oDialog.setSize(300,200);
 
propertygetSize() Return object contain size of Dialog

oSize = oDialog.getSize();
  alert("width:"+oSize.width);
  alert("height:"+oSize.height);
 
propertysetTitle(txtTitle) Set title of Dialog

oDialog.setTitle('my Dialog')
 
propertysetIconPath(txtIconPath) Set icon of Dialog

oDialog.setIconPath('images/ie.gif')
 
propertysetOpacity(intOpacity) Set the transparency level of Dialog, the value of opacity ranges from 0 to 100.

oDialog.setOpacity(50)
 
propertygetOpacity() Return current transparency level of Dialog

var currentOpacity = oDialog.getOpacity();
 
propertysetzIndex(intzIndex) Set zIndex level for Dialog

oDialog.setzIndex(1000)
 
propertygetzIndex() Return zIndex of Dialog

alert("zIndex" + oDialog.getzIndex());
 
propertyscreenCenter() New Make the Dialog position at the center of screen.
This function does not guarantee that Dialog will maintain center position when browser is resized.

oDialog.screenCenter();