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

Display Member Path wrong behavior

6 Answers 197 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Taher
Top achievements
Rank 1
Taher asked on 05 Oct 2010, 08:45 PM
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.

6 Answers, 1 is accepted

Sort by
0
Taher
Top achievements
Rank 1
answered on 06 Oct 2010, 05:18 PM
Any help please
0
George
Telerik team
answered on 08 Oct 2010, 08:55 AM
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
0
Taher
Top achievements
Rank 1
answered on 08 Oct 2010, 03:10 PM
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
0
George
Telerik team
answered on 13 Oct 2010, 05:10 PM
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
0
Bob
Top achievements
Rank 1
answered on 22 Jan 2014, 10:43 PM

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

0
George
Telerik team
answered on 27 Jan 2014, 05:06 PM
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 >>
Tags
ComboBox
Asked by
Taher
Top achievements
Rank 1
Answers by
Taher
Top achievements
Rank 1
George
Telerik team
Bob
Top achievements
Rank 1
Share this question
or