• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

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

What is the maximum number of controls that can be placed in a .aspx page ?  I have one page that may top 500 controls.
1 Solution
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....
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.
shelbyinfotechAuthor Commented:
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.
Abu HamdanEnterprise Architect, PM ExpertCommented:
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:

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now