CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Listbox auto complete question

Print topic Send  topic

Author Message
LV
Posted: 05/28/2004, 7:10 AM

Access has a nice feature where user can type the values into the drop down list box and it will auto fill the values in there.

Does anyone here know how to implement this feature in CCS? I have list boxes contains hundred of items and by default user can only go to the the first character type e.g. typing C only take them to the first item start with C and they have to scroll down to select the item needed, this is painful for Data entry clerk.

Thanks in advance for any assistance or thoughts on this. :-)
peterr


Posts: 5971
Posted: 05/28/2004, 11:27 AM

Quote :
Does anyone here know how to implement this feature in CCS?

I recommend not limiting yourself to CCS. If any feature can be implemented in any Web application (outside of CCS) then it usually can be done in CCS as well.
From my experience I have not seen such feature and I believe that the HTML ListBox works in the standard way that you described, therefore I think that the HTML and Web browsers don't support such functionality.
I imagine that possibly you could use a TextBox with some JavaScript that would auto-fill the values, however then you would loose the functionality of picking values from a ListBox.
Of course I may be wrong. It would be best to find a Website where you can see the functionality you like and peek how it's done there.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
LV
Posted: 05/28/2004, 12:45 PM

Thanks Peter,

Is there any thoughts on how to speed up the drop down list with large number of items in them?

Can I have both drop down list and the plain text box side by side on the form so user can pick and choose which method work best for them?
LV
Posted: 05/28/2004, 12:47 PM

Thanks Peter,

Is there any thoughts on how to speed up the drop down list with large number of items in them?

Can I have both drop down list and the plain text box side by side on the form so user can pick and choose which method work best for them?
peterr


Posts: 5971
Posted: 05/28/2004, 1:06 PM

I don't have good ideas on this - possibly someone else will comment.

We have one example which utilizes serch-like functionality called "Pop-up List & Smart Lookup", also live at http://examples.codecharge.com/ExamplePack/PopUpList/Po...department_id=3
For example you can enter "Ken", "Price" or "K P" instead "Ken Price", or a search keyword. Not sure though if this method would speed up the data entry in your case.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
LV
Posted: 05/28/2004, 7:09 PM

:-) That's it, I think the sample you provided can somewhat speed up a large list box. I've read this sample in the manual before but didn't recall until you mention it, I think I stared at the PC too long, I need a break. Thanks, let me go back to those samples I am sure I can get some ideas out from them. ;-)
BlinkyBill

Posts: 86
Posted: 06/02/2004, 12:54 AM

Quote peterr:
Quote :
Does anyone here know how to implement this feature in CCS?

I recommend not limiting yourself to CCS. If any feature can be implemented in any Web application (outside of CCS) then it usually can be done in CCS as well.
From my experience I have not seen such feature and I believe that the HTML ListBox works in the standard way that you described, therefore I think that the HTML and Web browsers don't support such functionality.

I standard listbox doesn't ...... IE (i think 5.0 or greater) will via IE behaviors. Exactly like the Access one. Need more info and a prewritten sample ???

Go to this site:

http://www.solutionsnet.com.au/combo.aspx and http://msdn.microsoft.com/library/default.asp?url=/work...rs/overview.asp

As for a faster listbox, the issue with this is the way CCS grabs the rows and builds the string. I have hand coded a listbox with over 10,000 items and the page generates in under a second, using the IDE this page took over 45 secs to generate

View profile  Send private message
peterr


Posts: 5971
Posted: 06/02/2004, 1:29 AM

Bill,
Assuming that your message was directed to me, sure I'd like to see a sample, but I think that LV would be much more interested :-)
I am also quite interested actually just to see if it's possible, and some info on browser compatibility would be interesting as well.

Regarding listboxes, this is probably unusual to have so many values in a listbox but you could still speed this up in CCS by setting the PopulatingType property to ccsJoins. See http://forums.codecharge.com/posts.php?post_id=27166&s_...=PopulatingType
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.