473,748 Members | 9,931 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Page with many form elememts

Hello,

I would like to ask for your help.

I am trying to create a page with table of many form elements.
The size of the table is 84x10 (84 rows, 10 columns) and each cell
contains 1 form element (select box, checkbox, etc ...)

As you can see I have 840 form elements in the page.

Q: Why so big table?, Why so many form elements?
A: I have 84 channels that I would like the user to configure while
seeing the rest of the channels.

My problem is that it takes almost 10 seconds to display the page and
another 10 seconds to set the elements with the server data (read by
ASP function).

My website is loaded only by IE 5.0 and above.

My questions are:

Can I use so many elopements in 1 page?,
Would I will have problem with submitting so many elements?
Do you know where I can see the max elements per page for IE?

Any others ways how to handle so many elements?
Any other web technologies to think about?
BTW:
To which other newsgroups should I try sending this message?

Thanks,

Yaron
Jul 20 '05 #1
1 2541
To speed up the rendering of the page with 840 rows
I recommend making 840 tables instead of using 1 table
with 840 rows.

That will make it so that the browser doesn't have
to render the data for all 840 rows before rendering
one large table. This approach also has the side effect
of making things look nice even if the data in one of
the rows has several hundred characters in which results
in making all your columns real wide - just to accommodate
that one row of globby data.

To speed up processing on the back end, I recommend using
just one form, but labelling the controls for each row sequentially.

Like this :

<form>
<table width=690><tr>
<td><input type=checkbox name=chk_1></td>
<td>Color<inp ut type=text name=color_1></td>
<td>Make<inpu t type=text name=make_1></td>
</tr></table>
<table width=690><tr>
<td><input type=checkbox name=chk_2></td>
<td>Color<inp ut type=text name=color_2></td>
<td>Make<inpu t type=text name=make_2></td>
</tr></table>
table width=690><tr>
<td><input type=checkbox name=chk_3></td>
<td>Color<inp ut type=text name=color_3></td>
<td>Make<inpu t type=text name=make_3></td>
</tr></table>
<input type=hidden name=total_item s value=3>
</form>

This approach does three things :

1. It lets you parse the value of color_* and make_* which come to
the server - you don't have to hard code something for each value 1,2, and 3.

and

2. Lets you iterate through only the set of rows which have been
checked in the checkbox. This is especially useful if you want the
user to be able to delete several items at once or to select or
manipulate the information for several items at once.

3. Since the code will be iterating through only the stuff it needs to
know about that should help improve the 10 second processing time.

Incidentally, instead of using a sequential approach it may be
better to use unique identifiers from the database. So that you
can iterate through all the items you might create a hidden variable.

For example, (not the same example as the one shown above)

You could create this :

<input type=hidden name=database_i ds value=1,3,5,9 >

Then you can parse database_ids on the back end, determine that there
are four items, with database ids 1,3,5 and 9.
cy****@yahoo.co m (Yaron C.) wrote in message news:<93******* *************** ****@posting.go ogle.com>...
Hello,

I would like to ask for your help.

I am trying to create a page with table of many form elements.
The size of the table is 84x10 (84 rows, 10 columns) and each cell
contains 1 form element (select box, checkbox, etc ...)

As you can see I have 840 form elements in the page.

Q: Why so big table?, Why so many form elements?
A: I have 84 channels that I would like the user to configure while
seeing the rest of the channels.

My problem is that it takes almost 10 seconds to display the page and
another 10 seconds to set the elements with the server data (read by
ASP function).

My website is loaded only by IE 5.0 and above.

My questions are:

Can I use so many elopements in 1 page?,
Would I will have problem with submitting so many elements?
Do you know where I can see the max elements per page for IE?

Any others ways how to handle so many elements?
Any other web technologies to think about?
BTW:
To which other newsgroups should I try sending this message?

Thanks,

Yaron

Jul 20 '05 #2

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

Similar topics

6
2278
by: Perdit | last post by:
My 1st page calls a 2nd that uses same data from a database. What is the best way to get the data in the second: a new call to the database or passing array through session variable?? I seems to me that avoiding a new call will speed up things but my concerne is that I have read many posts with caution messages againts session vars. Has anybody tested session var stability in this common scenario?
4
2804
by: Kevin Phifer | last post by:
Ok, before anyone freaks out, I have a solution I need to create that gathers content from maybe different places. Each one can return a <form> in the html, so its the classic can't have more than one runat=server form on a asp.net page. However, I still want developers to be able to use asp.net controls to create some apps that are created on the page. So I need multiple forms on a asp.net page(doesn't everyone). I purchased the...
5
2967
by: Benjamin Bittner | last post by:
Hi all I have a to different input masks on one page. The first must be posted on itself, the second must be posted to another website and popup in a new window. My problem is, ive got one global form tag (index.aspx). The content comes from different user controls. The two input masks come from 2 different user controls. My global form tag encloses everything between the <body>-tags. So what i have to do imho, is to identificate which...
1
1536
by: Tom wilson | last post by:
Yes, I'm sorry, it's me again. :) Yesterday I went through hell trying to figure out why my aspx pages wouldn't maintain state. I had a simple example I (we) eventually got to work. What I've discovered is that my problem seems to lie entirely with IE. A bit of history... My app is an online survey. The questions, choices and so on are
14
8162
by: Laser Lu | last post by:
Hello, All, I just want to know that generally how to get the HtmlForm element in an ASP.NET Page? Can anybody help? Please:) Best regards, Laser Lu
7
2109
by: Shadow Lynx | last post by:
I realize that his question has been asked, in many other forms, many times in this group. Even so, my tired eyes have not yet found a sufficient answer, so I've decided to "reask" it even though I'm sure this will offend some of the more seasoned verterans of this board. The Players: Consider a simple web form, which I'll call Page A, that has a couple of controls on it. It's not important what they are, only that they're static...
6
4896
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
4
2824
by: Scott Shuster | last post by:
Hi, I've been searching and testing and have not yet found the answer I'm looking for. I have an ASP.NET (vb) application with an ecommerce function. When the user submits the page, I DON'T want them to be able to click on the 'BACK' button and get back to the form - they may inadvertently re-submit the page and get charged again. I WANT them to get the "Page has expired" message.
15
6714
by: rdps | last post by:
I am a newbie to the python world. I am trying my hands at one task: I am trying to access a website, say, "http://xyz.com" and then trying to maniulate the gui elememts already present on the page. I am able to open the site using: webbrowser.open("http://xyz.com") But now, i have to enter some text in a text box and click on the button, which i am unaware how to do using python. Can anyone guide me through?
0
8831
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
9374
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
9325
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,...
1
6796
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
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4876
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
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
2787
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.