<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
Please, refer to the following forum thread - http://www.telerik.com/community/forums/silverlight/combobox/combobox-displaymemberpath-binding.aspx
George
the Telerik team
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
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.
George
the Telerik team
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
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
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 >>