Case 1 (working fine)
- Open the page
- Select a value from the
combobox1
- Select other value from the
combobox2
- Click New record
Case 2 (issue)
- Open the page, write some word for filter the
combobox1
for example "H" - Select other value from the
combobox2
filter word "B" - Click New record
combobox1
- just showing which values starting "H"combobox2
- just showing which values starting "B" Code;
aspx
<ext:ComboBox ID="combobox1 " runat="server" DisplayField="CountyName" ValueField="ISSCode" QueryMode="Local">
<Store> <ext:Store ID="str1" runat="server" AutoDataBind="true">
aspx.cs
Before databind I used clearfilter()
str1.ClearFilter();
str1.DataSource = countyDataTable;
str1.DataBind();
Try this solution