A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
performance enhament in combo re-loading
Joined: Jan 10, 2007
Jan 11, 2007 07:03:00
My page dropdown has around 3000 values. When i tried to reduce the number of values in page dropdown then it took around 25 seconds. Is there any optimize code to reduce that time?
My code snippet:
Initially, dropdown has 3000 values.
[ January 12, 2007: Message edited by: Gauravu Arorau ]
Author and ninkuma
Joined: Jan 10, 2002
Jan 11, 2007 08:45:00
There's no such thing as a "combo" on the web. I assume you mean a select element, sometimes called a dropdown.
That's far too many values to be inundating a user with in a dropdown. You should investigate other ways to present this to the user.
Asking smart questions
Books by Bear
It is sorta covered in the
JavaRanch Style Guide
subject: performance enhament in combo re-loading
Handling Browser Back Button & Multiple Tabs
implementing dynamism dropdown box
Getting a dropdwon value from a jsp page
dropdown selection in Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015