Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 26th, 2005, 03:00 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi mcinar,

I don't think this is going to work with so much data. There is a lot of JavaScript being fired whenever you populate, or try to find an item in the list. JavaScript isn't the fastest language around, so with so many items, it's always going to be slow (unless someone optimized the Web FX Combobox.

I think you'll need to look for a server side solution to deal with this many records.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 26th, 2005, 10:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , NY, USA.
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Can you recommend me any type of server side solution?

Thanks for your help,

MCinar

Love all the creatures because of the creator.
 
Old January 26th, 2005, 02:13 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You could accept one or two letters, then have your users click a Search button. Then you roundtrip to the server, and fill the drop-down with items that start with those two characters.

This is not as good as a client side solution, because you'll need to post back to the server, causing a delay. However, compared to the browser freezing, that's not half as bad as it sounds ;)

Possibly you can do this with client side callbacks. This still requires a call back the server, but at least the browser screen doesn't redraw. However, cross-browser client side call backs aren't very easy to program....

Cheers,

Imar
 
Old January 26th, 2005, 03:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , NY, USA.
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It seems like it won't work for me.

Thank you,

MCinar

Love all the creatures because of the creator.
 
Old January 26th, 2005, 04:04 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What won't work? The client side or the server side solution?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 26th, 2005, 09:26 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , NY, USA.
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Imar,

It is a very good idea, but the users would like to have something easier for them.
I wouldn't mind paying for it, if there is a good and fast Combo Box available.

Thanks for your help,



MCinar

Love all the creatures because of the creator.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Grab Values From List Box into Text Box phungleon VB How-To 2 June 19th, 2008 10:33 PM
check/letter box ,submit button grazian7 ASP.NET 2.0 Professional 0 November 30th, 2007 11:15 AM
multi-column list box values moved to 2nd list box sbmvr Access VBA 1 May 14th, 2007 01:58 PM
Populate List Box by Combo Box Selection mmcdonal Access 2 June 15th, 2004 12:08 PM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.