ComponentOne Window for ASP.NET AJAX: Window for ASP.NET AJAX Behavior > Window Positioning and Sizing > Window Position

Window Position

You can easily specify whether you would like the dialog window to appear at the center of the page, in the center of the dialog window's parent element, at the top-left corner of the page (the default position), or at a specific (x, y) location on the page through the StartPosition property.

You can set the StartPosition property to ByDefault, Page, Parent, Manual, or OffSet. When you set the dialog window's start position to Manual you will need to specify an integer value for the horizontal (X) and vertical (Y) location of the dialog window through the X and Y properties. For more information, see Setting the Window Location.

You can also set the dialog window's location on the client side. For more information, see Setting the Dialog Window Location at Run Time.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.