Mar 13, 2009, 4:31 PM
[CLOSED] What does ForceSelection do in ComboBox?
I have a simple ComboBox and I want the users to be able to typeahead but only pick from the list of items in the box. As far as I can tell, I have to have Editable=true, ForceSelection=true and TypeAhead=true. I can type and the list will filter correctly, but I can also enter any string that's not on the list which is not supposed to happen because ForceSelection is true. If that's not what ForceSelection does, how do I accomplish what I want?
Here is the ComboBox:
<ext:ComboBox ID="cb1" runat="server" Editable="true" ForceSelection="true" TypeAhead="true" DisplayField="id" ValueField="id" Mode="Local" TriggerAction="All" SelectOnFocus="true" StoreID="Store1" />