Combobox Item Changes

4 posts, 0 answers
  1. Mike
    Mike avatar
    14 posts
    Member since:
    Mar 2010

    Posted 27 Sep 2010 Link to this post

    I have a combobox that uses load on demand.  When an item is selected, the selectedindexchanged event populates the second combobox.  When an item is selected in the 2nd combo box (everything works fine up to this point) and then the combobox loses focus, immediatetly the 2nd combobox reverts to the item at the beginning of the list and not the selected item.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Sep 2010 Link to this post

    Hello Mike,

    I hope the following demo will help you in this. Try the approach shown in the demo and see whether it suits your need.
    ComboBox / Related ComboBoxes

  3. Mike
    Mike avatar
    14 posts
    Member since:
    Mar 2010

    Posted 28 Sep 2010 Link to this post

    It seems that the issue is the data that is in the Value property for the item.  The PK of the table is already in the Text property so I used the Value property to store an additional piece of data for that item.  But, after an item is selected and then focus is taken off of the combobox, the item would always change to the first occurance of the selected item's Value property and not remain on the item selected.
  4. Simon
    Simon avatar
    2281 posts

    Posted 29 Sep 2010 Link to this post

    Hello Mike Parzygnat,

    This issue can occur if your Items have identical values. Please verify whether this is the case.

    Kind regards,
    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
Back to Top