Filter not working for RadCombobox

2 posts, 0 answers
  1. Rajesh
    Rajesh avatar
    6 posts
    Member since:
    Apr 2013

    Posted 26 Apr 2013 Link to this post


    I have created a RadCombo control and binded some values to it. I want to add filter to that combobox and applied the filter value using Filter="Contains" property as seen in the code below. When I expect the values to be filtered, it does not. Please find the screenshot attached. 

    btw, I have referenced the script resource assembly i.e. axd file in the web.config (included) and is there anything wrong in that file. 
    Am I missing anything ? 

    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
               <td><telerik:RadComboBox ID="RadComboBox1" runat="server" Width="186px"  AutoPostBack="true"  EnableLoadOnDemand = "true" Filter="Contains" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" Label="Country:" /></td>
               <td><telerik:RadComboBox ID="RadComboBox2" runat="server" Width="186px" AllowCustomText="true" Filter="Contains" Label="Province:" OnSelectedIndexChanged="RadComboBox2_SelectedIndexChanged" /></td>
               <td>Country : <asp:Label ID="lblCountry" runat="server" Text=""></asp:Label> </td>
               <td>Province :<asp:Label ID="lblProvince" runat="server" Text=""></asp:Label></td>
         <asp:XmlDataSource runat="server" id="XmlDataSource1" XPath="Countries"
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
                <telerik:AjaxSetting AjaxControlID="RadComboBox1" >
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox2" />
           <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
            <compilation debug="true" targetFramework="4.0" />
            <remove verb="*" path="*.asmx" />
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  2. Plamen
    Plamen avatar
    3057 posts

    Posted 01 May 2013 Link to this post

    Hi Rajesh,

    Thank you for contacting Telerik support.

    I have inspected and tested the code that you shared but could not reproduce the described unusual behavior. Would you please share the code behind so we could take a look at it as well and be more helpful?

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top