?
Solved

ASP HTML List box populating

Posted on 2007-11-21
1
Medium Priority
?
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

743 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