473,657 Members | 2,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Max Number of Web Controls Per Page

I am in the early stages of an ASP.NET project and my Architect is proposing
a form that would have as many as 1200 (twelve-hundred!) textboxes on a
single page. Aside from the usability concerns, I'm trying to identify other
obstacles to this approach.

One thought I had was that this many web controls may start to seriously tax
..NET vis-a-vis the Viewstate. Essentially that loading this many textboxes
on a form will create tons of overhead as .NET has to maintain values for
each of these controls between postbacks in Viewstate.

I guess I'm looking to find out if there is a hard maximum for the number of
web controls per page/form, OR what rule of thumb I can use to try and gauge
performance expectations under these conditions.

Any information or hints are greatly apprecaited.

Regards,

Chris Frohlich
Jul 7 '06 #1
1 3245
The textbox control maintains its own state within the resulting HTML
<inputtag so ViewState will not be an issue. Other controls may or may not
require ViewState. ASP.NET should be able to handle that many controls
without issue but I would question any kind of architecture that required
1200 controls on a single page. Usability etc aside, your biggest issue is
likely to be just moving that much data back and forth between the client
and server with a high level of performance.

--

Andrew Robinson
http://blog.binaryocean.com
"ChrisFrohl ich" <Ch***********@ discussions.mic rosoft.comwrote in message
news:8B******** *************** ***********@mic rosoft.com...
>I am in the early stages of an ASP.NET project and my Architect is
proposing
a form that would have as many as 1200 (twelve-hundred!) textboxes on a
single page. Aside from the usability concerns, I'm trying to identify
other
obstacles to this approach.

One thought I had was that this many web controls may start to seriously
tax
.NET vis-a-vis the Viewstate. Essentially that loading this many
textboxes
on a form will create tons of overhead as .NET has to maintain values for
each of these controls between postbacks in Viewstate.

I guess I'm looking to find out if there is a hard maximum for the number
of
web controls per page/form, OR what rule of thumb I can use to try and
gauge
performance expectations under these conditions.

Any information or hints are greatly apprecaited.

Regards,

Chris Frohlich

Jul 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2639
by: Steve Drake | last post by:
All, I have a CONTROL that contains 1 control (Control ONE), the 1 control that it can contain 1 or 2 control (Control A and B). Control A, raises and event and Control ONE receives this event and this causes control B to be created, when this is done the VIEWSTATE is lost for CONTROL B. In the EVENT that causes CONTROL B to be created I have to set
8
4274
by: Invalidlastname | last post by:
Hi, We are developing an asp.net application, and we dynamically created certain literal controls to represent some read-only text for certain editable controls. However, recently we found an issue which is related to the repeater. In the code shown below, if I call Repeater1.Controls.Count in the OnInit (the code fragment was highlighted in yellow) , the viewstate for the repeater will be lost during the postback. You can re-produce this...
1
2130
by: Robert Howells | last post by:
Perhaps I'm just too new at this to pull it off, or perhaps it's just bad architecture. I'd appreciate some feedback on the the wisdom (or lack thereof) in attempting the following: I'm not new to programming, but I am new to ASP.NET and Web application design in general... loved the concept of user controls and dynamically adding them to a page. So what I wound up with was an application that dynamically loads two user controls directly...
0
1126
by: RJN | last post by:
Hi I have a datagrid which is put inside a div tag to make it scrollable. I need to page the datagrid. The page numbers appear at the bottom of the datagrid and has to be scrolled down completely to see the page number links. The page number should always be visible outside the scroll bar. I'm trying to create a table dynamically below the datagrid with all the paging links. In the ItemCreated event of the datagrid, I have something...
11
1597
by: Frank Esser | last post by:
Hi, I created an ASP.NET page (test.aspx) with some web controls in GridLayout (Design time). When I look at the collection page.controls by foreach (Control ctrl in Page.Controls) { ....
3
2781
by: Nathan Sokalski | last post by:
When I view any page in my application a second time, I recieve the following error: System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize) +313 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +201 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +263
22
2174
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said stage. One approach I have used on other systems is to prevent the action buttons appearing. For example, if one did not have the Role of Administrator, one would be prevented from deleting a ticket not created by oneself. However, it did occur...
12
1594
by: Bob Jones | last post by:
I have an odd business requirement and I think that the implementation is not correct in the terms of OOP development. Any help on the concepts would be very appreciated! We currently have a custom Page object which is derived from the base Page object. We also have custom controls that derive from a base class that performs custom drawing and inherits from our own IOurControl interface. There is also a special caching layer in the mix...
1
1380
by: =?Utf-8?B?a3dfdWg5Nw==?= | last post by:
Hello All I am not sure if this is the right forum or not so, my apologies before hand if I am guilty. I have a C# application that has a property retrieving value (int) from my database. I would like to use this value as the number of images to dispaly in the page. I have two images (image1.gif and Image2.gif) in my c:\image folder on my file system. If the value is zero(0) image1.gif will be displayed; if the value is 1 or greater,...
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.