What is the maximum number of controls that can be placed in a .aspx page ?

Posted on 2007-10-01
Last Modified: 2008-01-09
What is the maximum number of controls that can be placed in a .aspx page ?  I have one page that may top 500 controls.
Question by:shelbyinfotech
    LVL 25

    Expert Comment

    i don't think there is a max amount of controls you can have on a page, however a couple things you may want to consider.   How big is this going to make the page?  Are your users on dial-up?  Any of them reference a database, or the file-system?

    All of these things can cause the page to timeout (if the timeout is not set), also, it may just load too slow for someone to stay interested in the page, potentially causing a loss of visitors.

    Personally, I wouldn't throw 500 controls on one page.  I'd break it up to at least 5 pages....
    LVL 21

    Expert Comment

    There are no known limits for the number of controls on a aspx page. The system should be able to render 500 controls but the question is how usable is a form with 500 controls going to be.
    LVL 25

    Expert Comment


    Author Comment

    This is for an intranet site, 189 are textboxes, 189 labels that indicate valid input and 49 labels to change state considering selection critera, a max of 160 will be enabled at a time.
    LVL 7

    Accepted Solution

    I think the thing that you should care about here not the number of controls, its the request size for this page,, because .Net limits the request with 4 MB,, but you can increase it if you want ,,,

    See this resource:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    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

    15 Experts available now in Live!

    Get 1:1 Help Now