Slight change in combobox behavior with latest build

4 posts, 0 answers
  1. Kjell
    Kjell avatar
    275 posts
    Member since:
    Jun 2010

    Posted 19 Oct 2010 Link to this post

    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.

  2. Kjell
    Kjell avatar
    275 posts
    Member since:
    Jun 2010

    Posted 19 Oct 2010 Link to this post

    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.
  3. DevCraft banner
  4. George
    Admin
    George avatar
    1332 posts

    Posted 22 Oct 2010 Link to this post

    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
  5. Kjell
    Kjell avatar
    275 posts
    Member since:
    Jun 2010

    Posted 15 Nov 2010 Link to this post

    FYI this seems to be resolved in the Q3 build.
Back to Top