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

Slight change in combobox behavior with latest build

3 Answers 30 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Kjell asked on 19 Oct 2010, 06:38 AM
I have several type ahead radcomboboxes in my app, here is an example of one of them:

 

 

 

 

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

3 Answers, 1 is accepted

Sort by
0
Kjell
Top achievements
Rank 1
answered on 19 Oct 2010, 07:19 AM
Just to make sure, I went ahead and rolled back to the 2001_2_0714 build, I confirmed that my menus work fine in that build.

I also tried the latest dev build but in that I still have the problem.

Worst case scenario I can roll back to 0714 but I will have to update some other things.
0
George
Telerik team
answered on 22 Oct 2010, 09:56 AM
Hello Kjell,

Could you please refer to the following forum thread - http://www.telerik.com/community/forums/silverlight/combobox/multiple-keystrokes-per-character.aspx.
I suppose that the two issues could be relative. Could you please double check if you have the same problem.

I hope this helps! Please do not hesitate to contact us if you require any further information.
 

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
0
Kjell
Top achievements
Rank 1
answered on 15 Nov 2010, 09:48 PM
FYI this seems to be resolved in the Q3 build.
Tags
ComboBox
Asked by
Kjell
Top achievements
Rank 1
Answers by
Kjell
Top achievements
Rank 1
George
Telerik team
Share this question
or