|
The Dropdown Template adds a databound ASP.NET DropDown control to your page. The DropDown is bound to a business object class. The DropDown uses a business class datasource. These datasources are exposed by the business object.
The DropDown template has the following options:

Display Property
|
Select the property that will display in the drop down
|
ID Property
|
Select the property that will be set as an identifier for the selected item in the drop down
|
Add Null Option
|
Add a "nothing selected option", you can also set the text for this in the drop down
|
Auto Refresh Dependent Controls (AutoPostback)
|
Auto-Calculation Rule : It checks to see if this DropDown Template instance is used in as a Related DataSource in another Template, if that's true it turns on this option automatically . The postback will cause the refresh of the other Template as well.
|
Warning if Display Property is PK
|
When the Auto-Calculation rule for the Display property executes, it "could" happen that the chosen Display property is the PK. This will generate, by default a warning letting you know about this fact. With this option you can configure to avoid having that warning. Since it's a global symbol you can do it for this instance (Dropdown1) or you can do it for all Dropdown instances with the same "problem".
|
In the Filters tab you can set the filter (or filters) for the drop down if you want to filter the items that appear in the drop down (see Filtering a DataSource)
In the Sorting tab you can set the sorting of the items in the drop down. By default this will be the Selected property (see DropDown Sorting Options).
|