How to do Window.Open and get the new window's size maximized

Posted on 2011-10-21
Last Modified: 2012-06-27
Is there a way, without extensive coding or third party software to get the window opened by the Window.Open functionality to be opened maximized to the screen?

I have seen ways that allow me to position the window and speciify the width and height, but I need the window to be maximized without knowing what that size is.

The following command is in my codebehind and works for opening the window. It does not, however, maximize the screen to the window.
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "'CustomerDetailForm.aspx?Cust_Code=" + strCustCode + "','_blank','maximize=true, titlebar = no, status=yes,resizable=no,toolbar=no,menubar=no,location=yes,directories=no,fullscreen=true, scrollbars=yes, location=yes');", True)

Open in new window

Question by:Donna Kainer
    LVL 33

    Accepted Solution

    Without being able to check right now, what if you set width and height to 100%?

    Author Closing Comment

    by:Donna Kainer
    Abandon this question.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now