EXAMPLE: ASPX declaration

Updated: 4/2/2008 10:53:40 PM
<cc:DropDownListEx runat="server" ID="DropDownList1" 
	DataSourceID="ObjectDataSource1"
	BackColor="#FFFEE3"
	AlternateItemBackColor="Thistle"
	ItemColorMode="ByInitials"
	DataTextField="Name"
	DataTextField2="City"
	DataTextField3="Country"

DataValueField="ID" DataTextFieldSeperator=" | "
         DataTextFormatString2="City:{0}"
	DataTextFormatString3="Country:{0}"
	OnItemColoring="DropDownList1_ItemColoring"
	OnItemDataBound="DropDownList1_ItemDataBound" />
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="RetrieveAll" TypeName="ContactManager"></asp:ObjectDataSource>