Hi,
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 ?
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"> <div> <telerik:RadScriptManager runat="server" ID="RadScriptManager1"> </telerik:RadScriptManager> <table> <tr> <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> </tr> <tr> <td>Country : <asp:Label ID="lblCountry" runat="server" Text=""></asp:Label> </td> <td>Province :<asp:Label ID="lblProvince" runat="server" Text=""></asp:Label></td> </tr> </table> <asp:XmlDataSource runat="server" id="XmlDataSource1" XPath="Countries" DataFile="~/App_Data/CountryRegionMapping.xml"/> </div> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadComboBox1" > <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadComboBox2" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> </form><configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> <httpHandlers> <remove verb="*" path="*.asmx" /> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> </httpHandlers> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </httpModules> </system.web> </configuration>