CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Multi-Select ListBox Won't Retain Marked Item

Print topic Send  topic

Author Message
dblayout
Posted: 07/07/2003, 10:14 AM

I have a multi-selecylistbox where the user can choose up to 3 items. The user choose them and does the search and it returns the correct results. The user press's search again (without changing any of the criteria) and the search returns 0 results. My listbox has the Option set to include in the listbox 'Choose up to 3' and this is always highlighted even though I un-checked the 'Selected' option. I must re-select the listbox items everytime I want to do a search. If I remove this option ('Choose up to 3'), the listbox retains the selected values just fine. Can I not have this text AND have it retain the values? I have looked at the Examples and they do not have any text in the Options settings for their multi-select listbox. I really need both if possible.

Any ideas?

Thanks
Chris
glerma
Posted: 07/10/2003, 10:15 AM

What programming language are you using?
dblayout
Posted: 07/10/2003, 1:12 PM

.NET VB
glerma
Posted: 07/11/2003, 9:40 AM

Did you try generating the Intranet and Internet Web Development examples included with CCS 2.X? They have an example of searching using multiple-select listboxes.
dblayout
Posted: 07/11/2003, 12:13 PM

Yes, those do not retain their values either when the list is created from a table & you have the 1st line of the listbox have custom text in it (by right-clicking on the control & selecting the SELECT option). If you do NOT add custom text this way, it retains the values. It has something to do with the custom text.

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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