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.
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.