You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SelectCommand="SELECT Top 20 [CustomerID], [ContactName], [ContactTitle], [CompanyName] FROM [Customers]"></asp:SqlDataSource>
29
-
30
-
1. Add a **RadMultiColumnComboBox** control to the page, and set its properties:
31
-
32
-
*`DataSourceID` - points to the SqlDataSource control ID.
33
-
*`DataTextField` and `DataValueField` - point them to the respective fields of the data source.
34
-
*`FilterFields` - these are the fields from the data source that will be used for filtering the text the user types. Set them according to the data source and your UX preferences.
35
-
*`Filter` - set it to "`contains`" to enable generic filtering.
36
-
*`Placeholder`, `DropDownWidth`, `Height` and `Width` control its appearance much like with other inputs and dropdowns.
37
-
* Populate the `ColumnsCollection` with `MultiColumnComboBoxColumn` instances and set their properties:
20
+
Add a **ScriptManager** control on a Web Form. After thatm, create a data source with your preferred method. For example:
SelectCommand="SELECT Top 20 [CustomerID], [ContactName], [ContactTitle], [CompanyName] FROM [Customers]"></asp:SqlDataSource>
26
+
````
27
+
28
+
Add a **RadMultiColumnComboBox** control to the page, and set its properties:
29
+
30
+
*`DataSourceID` - points to the SqlDataSource control ID.
31
+
*`DataTextField` and `DataValueField` - point them to the respective fields of the data source.
32
+
*`FilterFields` - these are the fields from the data source that will be used for filtering the text the user types. Set them according to the data source and your UX preferences.
33
+
*`Filter` - set it to "`contains`" to enable generic filtering.
34
+
*`Placeholder`, `DropDownWidth`, `Height` and `Width` control its appearance much like with other inputs and dropdowns.
35
+
*`HighlightFirst` - by default, the first search result will be highlighted. You can disable this functionnality by setting the value to **false**.
36
+
* Populate the `ColumnsCollection` with `MultiColumnComboBoxColumn` instances and set their properties:
37
+
38
+
*`Field` - the field from the data source that will be rendered.
39
+
*`Title` - the header text.
40
+
*`Width` - the width of the column. They should add up to the value of DropDownWidth.
38
41
39
-
*`Field` - the field from the data source that will be rendered.
40
-
*`Title` - the header text.
41
-
*`Width` - the width of the column. They should add up to the value of DropDownWidth.
42
-
43
-
The end result should be similar to the following:
0 commit comments