?
Solved

ASP HTML List box populating

Posted on 2007-11-21
1
Medium Priority
?
303 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 1996 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

809 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