I noticed a few issues with the DropDownList control.
1) When using HTML, if the DropDownList's DropDownStyle is set to DropDown, the HTML source is displayed as the text. See the attached screenshot for an example of this.
2) When using autocomplete, I cannot get the autocomplete to work on part of the item (the first part is a number) and have it select the item appropriately based on the value. It doesn't seem like it works. Again, see the second screenshot. Here's a code snippet:
1) When using HTML, if the DropDownList's DropDownStyle is set to DropDown, the HTML source is displayed as the text. See the attached screenshot for an example of this.
2) When using autocomplete, I cannot get the autocomplete to work on part of the item (the first part is a number) and have it select the item appropriately based on the value. It doesn't seem like it works. Again, see the second screenshot. Here's a code snippet:
Public Class Form1 Private Sub Form1_Load() Handles Me.Load Dim x As New ItemModel RadDropDownList1.DataSource = x.ListItems RadDropDownList1.ValueMember = "ItemNumber" RadDropDownList1.AutoCompleteMode = AutoCompleteMode.SuggestAppend RadDropDownList1.AutoCompleteValueMember = "ItemNumber" End Sub Private Sub radDropDownList1_ItemDataBound(ByVal sender As Object, ByVal args As Telerik.WinControls.UI.ListItemDataBoundEventArgs) Handles RadDropDownList1.ItemDataBound Dim view As DataRowView = CType(args.NewItem.DataBoundItem, DataRowView) args.NewItem.Text = "<html><b>" & view("ItemNumber") & " • " & view("ItemName") & "</b><br/>" & view("Description") & "</html>" args.NewItem.Height = 40 End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show(RadDropDownList1.SelectedValue) End SubEnd Class