Solved

ASP HTML List box populating

Posted on 2007-11-21
1
298 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

825 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