how to force my web form to load maximize ( ASP.NET )

Posted on 2005-04-22
Last Modified: 2008-02-01
Dear experts,
I need to render my web form (window browser) full screen size.
how to force my web form to load maximize ( ASP.NET )
Question by:EdCariello
    LVL 18

    Expert Comment

    Put following Script in <head> tag of your Page:

    <script language="JavaScript">

    LVL 18

    Accepted Solution

    Here's more accurate Cross Broswer Script for the same:

    <script language="JavaScript1.2">
    if (document.all)
       { top.window.resizeTo(screen.availWidth,screen.availHeight); }
    else if
       (document.layers || document.getElementById)
        (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth)
         { top.window.outerHeight = top.screen.availHeight;
           top.window.outerWidth = top.screen.availWidth; }


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Title # Comments Views Activity mvc - Time 37 45
    Way to have hovering effect 4 37
    Syntax question II 2 26
    Can't create users table in existing DB 16 51
    AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    779 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

    12 Experts available now in Live!

    Get 1:1 Help Now