Solved

ASP HTML List box populating

Posted on 2007-11-21
1
297 Views
Last Modified: 2008-02-01
Populating HTML List boxe with 100 K records increases the size of HTML page. Is there any solution to reduce or populate in more effective way.
0
Comment
Question by:RiteshSompura
1 Comment
 
LVL 23

Accepted Solution

by:
Ashish Patel earned 499 total points
ID: 20326536
While populating and dynamically creating List box from recordset, just remove </option> and value property from all option tag if you are placing them. Option tag without </option> will work and will reduce the size of 9 bytes per record value. And if the value property is being kept with same value as text then i guess, putting value property in option tag is also useless. Hope this helps.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

895 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