This question is locked. New answers and comments are not allowed.
I have several type ahead radcomboboxes in my app, here is an example of one of them:
My problem is, since updating my DLL's to the latest build, when the new itemssource is set, it wipes out the text. So for example I will type in "Ba" and it will find a list of items that start with that, but then the text of the box is set to nothing, how many characters I get in just depends on how fast I type. As soon as it gets to the "completed" event hander and bins the itemssource then it wipes out the text in the box. This is pretty annoying because say I wanted to type in the word "Bank", I'll never get that far. Unfortunatly these dropdowns are pretty crucial in my app and they are now almost unuseable.
I am going to keep working on this but wanted to get the question out there since it is so crucial, any advice is appreciated. I realize I may need to rethink how I am populating these menus (this logic/process is an adaption of a .net/ajax type ahead), I am open to all options/suggestions.
<telerik:RadComboBox x:Name="radClientCombo" GotFocus="RadClientBox_GotFocus" SelectAllTextEvent="None" Height="24" CanAutocompleteSelectItems="False" VerticalAlignment="Top" Background="Transparent" CanKeyboardNavigationSelectItems="True" IsEditable="True" KeyUp="RadClientBox_KeyUp"
Grid.Row="3" Grid.ColumnSpan="3" Width="203" HorizontalAlignment="Left" Margin="10,14,0,0" IsFilteringEnabled="False" IsTextSearchEnabled="False" SelectionChanged="radClientCombo_SelectionChanged"
LostFocus="radClientCombo_LostFocus" />
On the "KeyUp" event, I call a function in my web service which returns a filtered list of items based on what the user has typed in. The completed event is handled below:
radClientCombo.ItemsSource = e.Result;
radClientCombo.IsDropDownOpen = true;My problem is, since updating my DLL's to the latest build, when the new itemssource is set, it wipes out the text. So for example I will type in "Ba" and it will find a list of items that start with that, but then the text of the box is set to nothing, how many characters I get in just depends on how fast I type. As soon as it gets to the "completed" event hander and bins the itemssource then it wipes out the text in the box. This is pretty annoying because say I wanted to type in the word "Bank", I'll never get that far. Unfortunatly these dropdowns are pretty crucial in my app and they are now almost unuseable.
I am going to keep working on this but wanted to get the question out there since it is so crucial, any advice is appreciated. I realize I may need to rethink how I am populating these menus (this logic/process is an adaption of a .net/ajax type ahead), I am open to all options/suggestions.