Hi,
I'd like to use a multicolumn Combo for search reasons.
Here's my current configuration (based on this demo) :
ASPX:
DataSource Definition:
Nothing happeing in code behind.
The sarch on the datavalue works and data is shown in the dropdown.
Is there a way I can make the combo to search in all colums but display only the "name" once selected?
I'd like to use a multicolumn Combo for search reasons.
Here's my current configuration (based on this demo) :
ASPX:
<
telerik:RadComboBox
ID
=
"rb_fvCustomer"
runat
=
"server"
DataSourceID
=
"Customers"
EnableAutomaticLoadOnDemand
=
"true"
ItemsPerRequest
=
"10"
DataTextField
=
"name"
DataValueField
=
"kundennummer"
EnableVirtualScrolling
=
"true"
ShowMoreResultsBox
=
"true"
Width
=
"190px"
HighlightTemplatedItems
=
"true"
>
<
HeaderTemplate
>
<
table
style
=
"font-size: 10px"
>
<
tr
>
<
td
style
=
"width: 140px;"
>Name</
td
>
<
td
style
=
"width: 200px;"
>Kundennummer</
td
>
</
tr
>
</
table
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
style
=
"font-size: 10px"
>
<
tr
>
<
td
style
=
"width: 140px;"
>
<%# DataBinder.Eval(Container.DataItem, "name")%>
</
td
>
<
td
style
=
"width: 200px;"
>
<%# DataBinder.Eval(Container.DataItem, "kundennummer")%>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
DataSource Definition:
<
asp:LinqDataSource
ID
=
"Customers"
runat
=
"server"
ContextTypeName
=
"DataAdapterRR.CustomerDB_ConnectorDataContext"
OrderBy
=
"name"
TableName
=
"kp_customerdata"
>
</
asp:LinqDataSource
>
Nothing happeing in code behind.
The sarch on the datavalue works and data is shown in the dropdown.
Is there a way I can make the combo to search in all colums but display only the "name" once selected?