The only additional property that a developer
needs to set in a RelationalListControl is the
ParentListID property. The property is easily
set with a dropdown that lists all compatible server controls on
the page that inherit from ListControl.
If you have assigned a DataSet as a data
source with data relations defined between multiple tables ,
the control automatically finds the correct
DataRelation and sets up the
relationships between all the list controls.
You then have
fully functional, client-side updating, linked list controls from
setting only one property.
Any ListControl server control can
act as the top level parent, including a ListBox
and a DropDownList. A
RelationalListBox and a RelationalDropDownList
can of course also be
used. You can also mix and match RelationalListBoxes and
RelationalDropDownLists in the same grouping.
The download includes
a sample site using the same data as this demo and a compiled help file.