CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Ajax Dependent Listbox, 2nd Listbox resets during update

Print topic Send  topic

Author Message
rsorrells

Posts: 18
Posted: 01/01/2010, 2:17 PM

Hello,

I've got two list boxes on a form. The master is "States" and the secondary Listbox is a list of counties in each state.

It works... when you select a state, then only those state's counties are in the secondary Listbox.

The problem is during the form update. The original state is listed, and for a few seconds, the county is listed. Then after about 3 seconds, the secondary county field goes back to 'Select Value'.

Do you know of anything that would cause the secondary Listbox to reset?

I'm using SQL Server as a back-end.

Thanks,
Bob
View profile  Send private message
rsorrells

Posts: 18
Posted: 01/01/2010, 6:37 PM

Here is a zipped folder of a simple example project that demonstrates this.

http://www.aysoarea5f.org/DependentListBoxes.zip

Upon edit of the record, the secondary ListBox disappears.

Bob
View profile  Send private message
rsorrells

Posts: 18
Posted: 01/02/2010, 4:52 AM

Problem solved... I've spent 6 hours on this, and could have had it fixed in 2 minutes.

I bought CCT Dependent Listboxes Builder from http://codechargetools.com. It can do Ajax for large secondary lists. Works great, only took 2 minutes to install and configure.

Bob
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.

MS Access to Web

Convert MS Access to Web.
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.