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

DisplayMemberPath Seems to be doing something upon selection

3 Answers 46 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Rico
Top achievements
Rank 1
Rico asked on 25 Sep 2010, 12:01 AM

 

 

 

Basically I have A combo box.  Simple.  I set the binding and if I have DisplayMemberPath Set everything shows nice.
But when i select an Item... It doesn't show in the combo box as being selected.  Why is that?  What am i doing wrong?
Also when i remove the "DisplayMemberPath"  and i select an Item it stays selected.  But i need to define a Display Name for my items.  The default is a generic ID...
Any Help is appreciated
 

 

<telerik1:RadComboBox Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,2" ItemsSource="{Binding MRs}" DataContext="{Binding}"  DisplayMemberPath="Path=ReportName" >
</telerik1:RadComboBox>

 

3 Answers, 1 is accepted

Sort by
0
Rico
Top achievements
Rank 1
answered on 25 Sep 2010, 12:12 AM
Any chance it is due to the fact that im on the trial version?
0
George
Telerik team
answered on 28 Sep 2010, 08:36 AM
Hello Rico,

Using DisplayMemberPath="Path=ReportName" is not a valid xaml code. I would suggest you to try with DisplayMemberPath="ReportName". For more information about this property you could refer to our online documentation - http://www.telerik.com/help/silverlight/radcombobox-populating-with-data-binding-to-object.html#Using_DisplayMemberPath

Also, there is no difference in usage between trial and purchased version of our RadControls.

Please do not hesitate to contact us if you require any further information.


Kind 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
Rico
Top achievements
Rank 1
answered on 29 Sep 2010, 12:29 AM
Hmm thats totally the answer thanks..
I thought ohh i can't be that easy..
but it was...
Tags
ComboBox
Asked by
Rico
Top achievements
Rank 1
Answers by
Rico
Top achievements
Rank 1
George
Telerik team
Share this question
or