CodeCharge Studio

AJAX Dependent Listboxes Builder

The Dependent Listboxes Builder simplifies the process of adding a Dependent Listboxes feature to your forms.

To invoke the Dependent Listboxes Builder, select the Builders tab at the top of the Toolbox ribbon bar.

 

Step 1: Choose a database connection and builder options

Option Description
Use an existing database connection Select a previously configured database connection.
Create... Create a new database connection.
or select a sample database (Internet/Intranet) Use one of the example databases provided with CodeCharge Studio as an alternative to selecting an existing database connection. If this option is selected, the database connection will be created automatically.
Internationalized Use translation resources in place of text.
Save builder options Preserve the options selected in the Builder for each step. The options will be automatically pre-selected the next time you use the Builder.

Step 2: Configure Feature Data Source

The following options are available when configuring the Dependent Listboxes feature.


Option Description
Master Listbox The listbox containing parent records.  Selecting an item from this list populates the Slave listbox.
Slave Listbox The listbox containing child records.  The contents of this list depends on which item was selected in the Master listbox.
Data Source The table to be used to create an AJAX service that will be used at runtime to retrieve the matching record.  This is the source of the data for populating the Slave listbox.
A query can be created in place of a table by clicking the "Build Query" button which opens the Visual Query Builder.
Bound Column The key column of the datasource.
Text Column The data column containing values to be displayed in the slave listbox.
Dependent field The data column that relates to (depends on) the value of the master listbox.


See also


On-line, printable versions and updates