On 1st selection, selected item value doesn't appear

6 posts, 1 answers
  1. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 11 Jun 2009 Link to this post

    Hi all,

     I'm building a ComboBox extension (based on RadComboBox v3) that will allow users to set the content of the combo box with all the items of a enumeration (any enumeration).

     All is fine, except in one detail, after the 1st selection, the value appears empty (text field in the combobox).

    If I use windows combo box this works correctly.

    I'm sending you a solution with just the code used to demonstrate this. Could you please tell if there's a workaround for this?

    Thanks ahead for all the help,

    L. Pinho

    Here's the vs2008 solution: Solution
  2. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 12 Jun 2009 Link to this post

    I've posted previously about a similar problem, maybe the info there can help you:
    http://www.telerik.com/community/forums/silverlight/combobox/selectionboxitemtemplate-is-sometimes-applied-too-late.aspx


  3. DevCraft banner
  4. Answer
    Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 12 Jun 2009 Link to this post

    Hi guys,

    I tested the application, the problem is different than the one Henrik described in the other thread. I guess it is related to the code of the inherited combo, but I didn't debugged that much to find the real problem. I just blogged about displaying enum values in a combo box, my approach is a lot simpler, I hope it helps:
    http://blogs.telerik.com/valerihristov/posts/09-06-12/binding_a_combobox_to_enum_values_with_radcontrols_for_silverlight.aspx

    Best wishes,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 12 Jun 2009 Link to this post

    I will try it your way,
    thanks
  6. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 15 Jun 2009 Link to this post

    Hi Luis,

    Let me know how it goes.

    All the best,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 19 Jun 2009 Link to this post

    Hi Valeri,

     thanks again. After some adjustments everything works like it suppose to.

    Thanks again,

    L. Pinho
Back to Top
DevCraft banner