This is a migrated thread and some comments may be shown as answers.

Multiple keystrokes per character?

1 Answer 57 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Charles
Top achievements
Rank 2
Charles asked on 12 Oct 2010, 04:29 PM
I am using the RadComboBox with a WCF service and autocomplete similar to the sample in Valeri Histov's blog (http://blogs.telerik.com/ValeriHristov/Posts/08-12-04/Auto-complete_ComboBox_with_WCF_Service_and_RadControls_for_Silverlight.aspx). This was working until a recent upgrade to the Silverlight controls to the 2010.2.924 release. (This is a Silverlight 4 application and has been since I created it.)

I have the RadComboBox Text property bound to a property in a view model (Two-Way Binding) and, upon attempting to debug the problem, found that the property is getting updated three times for each keystroke. For example, if I type "c" into the combo box, the first time through the Text property is "c". But, then I get a second time through and it is set to an empty string and, finally, a third time where it is set to null.This setting to null causes a problem with the code that gets the correct items for the autocomplete. Again, the sample is very close to what Valeri did in his blog.

I can't find anywhere where I would be updating that property and causing it to come through the property getter/setter again, so at this point I'm wondering if there is some change to the way the RadComboBox handles keystrokes that would cause this problem.

Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 15 Oct 2010, 05:13 PM
Hello Charles,

We reproduced the issue. Thank you for reporting this bug, it helps us in improving our products. I am glad to update your points for reporting this abnormal behavior of our RadComboBox control. We will investigate the cause for this issue and we will fix it in one of our future releases. You can track this progress in our Public Issue Tracking System (PITS) with Issue ID = 3745.

At this moment I would suggest you to check whether the value in the setter is null. I hope this helps.
 


Best wishes,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Charles
Top achievements
Rank 2
Answers by
George
Telerik team
Share this question
or