Display Member Path wrong behavior

7 posts, 0 answers
  1. Taher
    Taher avatar
    21 posts
    Member since:
    Jun 2010

    Posted 05 Oct 2010 Link to this post

    when using display member path proporty of the RadComboBox with a binding expression. it doesn't update the currently selected item display when the binding is changed. however when i open it's drop-down all the items are updated with the new value of the new display member path

    <RadComboBox DisplayMemberPath={Binding Path=Language, Converter{StaticResource languageToProportyNameConverter}} ItemsSource="{Binding Path=Countries}"/>

    Note: The right purposed behavior works fine in case of the silverlight ComboBox

    <ComboBox DisplayMemberPath={Binding Path=Language, Converter{StaticResource languageToProportyNameConverter}} ItemsSource="{Binding Path=Countries}"/>

    thanks for you help.

  2. Taher
    Taher avatar
    21 posts
    Member since:
    Jun 2010

    Posted 06 Oct 2010 Link to this post

    Any help please
  3. DevCraft banner
  4. George
    Admin
    George avatar
    1332 posts

    Posted 08 Oct 2010 Link to this post

    Hello,

    Please, refer to the following forum thread - http://www.telerik.com/community/forums/silverlight/combobox/combobox-displaymemberpath-binding.aspx 

    Regards,
    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. Taher
    Taher avatar
    21 posts
    Member since:
    Jun 2010

    Posted 08 Oct 2010 Link to this post

    Hi George

    thanks for your replay but this is not my problem Although i try you trick but it not work
    my problem is the selected item don't respect the change in DisplayMemberPath property
  6. George
    Admin
    George avatar
    1332 posts

    Posted 13 Oct 2010 Link to this post

    Hello,

    Now I understand. We are aware of this problem. Unfortunately, this is a limitation of the framework and we cannot implement it at this stage.
    Sorry for any inconvenience caused.

    Regards,
    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
  7. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 22 Jan 2014 Link to this post

    George or someone at Telerik,



    Does this limitation still apply in the latest versions of the SL controls because we are experiencing the same issue.  When the underlying value the DisplayMemberPath points to is updated the RadComboBox Selected Text is not updated even if we issue:



    ctlRadComboBox.Rebind(RadComboBox.DisplayMemberPathProperty);



    Can we manually change the SelectedText value from code behind?



    Thanks...Bob Baldwin

    Trabon Solutions

  8. George
    Admin
    George avatar
    1332 posts

    Posted 27 Jan 2014 Link to this post

    Hi Bob,

    Yes, this is still limitation in RadComboBox. However, you could change the selected text from code behind using the RadComboBox.Text property.

    Hope this helps.

    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner