ASP.NET Window - How to open Window at center of screen?

Solution: Call client-side screenCenter() after Open() function

*Note: This function will guarantee that Window will be at center position everytime it is called. This function does not help to maintain Window center position when browser is resized. You may need to call function again to re-center.

Click "Open" to open Window

 



Client-side code
 


function myWindowOpen()
{
      myWindow.Open();
      myWindow.screenCenter();
}



"I just experimenting with your window and I must say that I am really so impressed with it.I am currently using teleik window but after I tried yours , I made my mind to move towards yours, what I really like about your components is the really simple API and it is light on browser, I made some tests comparing window to ... one and I must say your outtakes ..."

Ferasman