Under Review
Last Updated: 02 May 2018 11:54 by Robert
Created by: Robert
Comments: 0
Category: ComboBox
Type: Feature Request

Here is how i bind the dropdown.

when i trype anything in dropdown it only search based on product code, but i also want search to perform on product code, Product name and wood type code.

Please let me know how can i achieve same.

<telerik:RadComboBoxDataSourceID="SqlDataSource1"DataTextField="ProductCode"DataValueField="idxProductPriceID"EnableAutomaticLoadOnDemand="True"ItemsPerRequest="10"ShowMoreResultsBox="true"EnableVirtualScrolling="true"AutoPostBack="true"OnSelectedIndexChanged="drpProduct_SelectedIndexChanged"EnableLoadOnDemand="true"EnableScreenBoundaryDetection="true"HighlightTemplatedItems="true"MarkFirstMatch="false"Filter="Contains"ID="drpProduct"DropDownAutoWidth="Enabled"Width="100px"runat="server"><HeaderTemplate><tablestyle="width: 100%"cellspacing="0"cellpadding="0"><tr><tdstyle="width: 20%;">Product Code
                                                        </td><tdstyle="width: 40%;">Product Name
                                                        </td><tdstyle="width: 40%;">Wood Type Code
                                                        </td></tr></table></HeaderTemplate><ItemTemplate><tablestyle="width: 100%"cellspacing="0"cellpadding="0"><tr><tdstyle="width: 20%;"><%#DataBinder.Eval(Container.DataItem, "ProductCode")%></td><tdstyle="width: 40%;"><%#DataBinder.Eval(Container.DataItem, "ProductName")%></td><tdstyle="width: 40%;"><%#DataBinder.Eval(Container.DataItem, "WoodTypeName")%></td></tr></table></ItemTemplate></telerik:RadComboBox><asp:SqlDataSourcerunat="server"ID="SqlDataSource1"ConnectionString="<%$ ConnectionStrings:Default %>"ProviderName="System.Data.SqlClient"SelectCommandType="StoredProcedure"SelectCommand="3_ProductList_Select"></asp:SqlDataSource>
Under Review
Last Updated: 28 Jun 2016 10:31 by luc bonenfant
Created by: luc bonenfant
Comments: 0
Category: ComboBox
Type: Feature Request
Why don't you include a boolean property to show selected image inside input ?

This is already a code library to do it :
Under Review
Last Updated: 11 Aug 2014 08:21 by Dennis
Created by: Dennis
Comments: 0
Category: ComboBox
Type: Feature Request
In a FormView, a routine scenario is to provide a control that has some sort of picklist (either DropDown or ComboBoxList) that may be tied to a field that contains a DBNull.

An example might be where one of the fields in the Telerik Profile specifies their favorite Telerik Product (KendoUI, ASP.NET AJAX, etc.).  However, their might be profiles where the user has not selected a favorite product.  Assuming that the Product list comes from a related table, then this field (say, FavoriteProductId) in the Profile would contain a DBNull.

I would like Telerik to add "declarative" functionality on the RadComboBox and RadDropDownList to handle the case where SelectedValue = DBNull.

Below is an example of what this might look like for a RadComboBox (inside of a FormView -- note: only showing the RadComboBox declaration).

<telerik:RadComboBox Style="z-index: 9100"  ID="rcbFirstOrder" runat="server" Width="50px" SelectedValue='<%# Bind("FirstOrder") %>'     HandleDBNull="true" >
        <telerik:RadComboBoxItem runat="server" Text="" Value="DbNull (or Null or Nothing)" />
        <telerik:RadComboBoxItem runat="server" Text="No" Value="0" />
        <telerik:RadComboBoxItem runat="server" Text="Yes" Value="255" />

Notice the new property ---    HandleDBNull = true       and the ability to define the value on a RadComboBoxItem as DBNull (or null or nothing) -- some string to define DBNull.

Although the above example shows all the RadComboBoxItems defined declaratively, this scenario could easily be extended to use AppendDataBoundItems = true and the non-DBNull values to come from a Data Source.

Thanks for taking the time to consider this functionality.  This enhancement would remove all of the code-behind tweaks that are currently incorporated to use a ComboBoxList / DropDownList with a database field that can contain DBNull.