I use load on demand to load items into the combo box, however, the user can select one of those items OR enter custom text. See the attached screen shot. When I tab off the control, it auto selects the first matching value, even with MarkFirstMatch = false.
So if I have "ABCD" as an item in the drop down, I can add "ABB" or anything that differs, but I can not add "ABC" for example because it will just fill in the text. It actually has "" has it's selected value when this happens, but the text is changed. The change happens client side before reaching any code in the code behind.
So if I have "ABCD" as an item in the drop down, I can add "ABB" or anything that differs, but I can not add "ABC" for example because it will just fill in the text. It actually has "" has it's selected value when this happens, but the text is changed. The change happens client side before reaching any code in the code behind.
OnClientItemsRequesting
simply cancels the request if less than 3 chars are typed, example from the knowledge base.<telerik
:RadComboBox
ID
=
"rcbOrganizationName"
Runat
=
"server"
OnSelectedIndexChanged
=
"RcbOrganizationNameSelectedIndexChanged"
OnItemsRequested
=
"RcbOrganizationNameItemsRequested"
OnClientItemsRequesting
=
"OnClientItemsRequesting"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"True"
AutoPostBack
=
"True"
EmptyMessage="Choose"
MarkFirstMatch="false"
EnableItemCaching="true"
CausesValidation="false"
TabIndex="2"
ShowMoreResultsBox="false"
MaxLength="50"
MaxHeight="300px"
Width="250px">
</
telerik
:RadComboBox
>