DisplayMemberPath Seems to be doing something upon selection

4 posts, 0 answers
  1. Rico
    Rico avatar
    3 posts
    Member since:
    Sep 2010

    Posted 24 Sep 2010 Link to this post

     

     

     

    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>

     

  2. Rico
    Rico avatar
    3 posts
    Member since:
    Sep 2010

    Posted 24 Sep 2010 Link to this post

    Any chance it is due to the fact that im on the trial version?
  3. DevCraft banner
  4. George
    Admin
    George avatar
    1332 posts

    Posted 28 Sep 2010 Link to this post

    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
  5. Rico
    Rico avatar
    3 posts
    Member since:
    Sep 2010

    Posted 28 Sep 2010 Link to this post

    Hmm thats totally the answer thanks..
    I thought ohh i can't be that easy..
    but it was...
Back to Top