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

 


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