I have a RadComboBox and I fill it on demand as the user types. No problems.
Now, if the ComboBox has an existing value on page load, and the user deletes it (via "x" or backspace),
the client-side .get_value() and the server-side.SelectedValue() still show the old value.
This is a problem because I check the value before saving, etc. In essence, the user deletes the value (text = "") but it still saves because the checks (client or server) show the value as still being there.
This was working for some time but has broken recently in our Prod version (2013.3.1324 - Q3 2013 SP2 ) and our Test/QA version (latest 2014.3.1209 - Q3 2014 SP1).
Client-side code below:
<telerik:RadComboBox ID="ddlPName" runat="server" CssClass="cert" Width="269px" Height="150px"
CollapseAnimation-Duration="0" CollapseDelay="0" CloseDropDownOnBlur="true" Skin="Vista"
EmptyMessage="Type Name" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
EnableVirtualScrolling="true" OnItemsRequested="ddlPName_ItemsRequested" DropDownWidth="269"
MarkFirstMatch="false" OnClientSelectedIndexChanged="NameSelectedIndexChanged"
OnClientDropDownOpened="onClientDropDownOpened" OnClientDropDownClosed="ddlPName_OnClientDropDownClosed"
OnClientItemsRequestFailed="OnComboCallbackError" OnClientItemsRequesting="onItemsRequesting"
OnClientTextChange="OnDDLTextChange">
</telerik:RadComboBox>function OnDDLTextChangeICD9(sender, args) {
if (sender.get_value() == "") {
sender.set_text("");
}
}
Thanks for any ideas,
Robert