Dec 17, 2012, 10:13 PM
[CLOSED] In a ComboBox, clicking the search trigger brings back all elements of the store instead of only the matching items
To reproduce open Examples/Form/ComboBox/Custom_Search/Default.aspx page and:
1. set:
Run the page and type blood in the first combobox. The combobox displays the list and it shows only one item, Bloodroot, which is correct. Now click on the trigger button to hide the list and click again to display the list. This time the list will show all the items, which is incorrect, in my mind, or at least this is not the behaviour experienced in the previous version of Ext.Net.
The request sent to the server contains:
query=&page=1&start=0&limit=25
query should have been set to the text contained in the combobox.
This might not be a problem with Ext.Net, rather with ExtJs 4. I will do more digging.
Update: fyi, I couldn't reproduce this problem in ExtJs 4.1.1.
Thanks
1. set:
HideBaseTrigger = "False"
2. Add these attributes:
QueryCaching="False"
QueryMode="Remote"
to the first combobox (the one defined using markup).Run the page and type blood in the first combobox. The combobox displays the list and it shows only one item, Bloodroot, which is correct. Now click on the trigger button to hide the list and click again to display the list. This time the list will show all the items, which is incorrect, in my mind, or at least this is not the behaviour experienced in the previous version of Ext.Net.
The request sent to the server contains:
query=&page=1&start=0&limit=25
query should have been set to the text contained in the combobox.
This might not be a problem with Ext.Net, rather with ExtJs 4. I will do more digging.
Update: fyi, I couldn't reproduce this problem in ExtJs 4.1.1.
Thanks
Last edited by Baidaly; Dec 18, 2012 at 7:35 PM.
Reason: [CLOSED]