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

Problem Joining to a FK table in a Datagrid not working when moving to RC from Beta 2

2 Answers 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gareth Whitlock
Top achievements
Rank 1
Gareth Whitlock asked on 24 Mar 2010, 02:32 PM

Hi

I have converted my project from Beta 2 to Rc with Visual Studio 2010 RC, silverlight 4 RC and Telerik 2010 Q1, my datagrid now returns my first two fields perfectly but fails to grab my included fk table (the lookup table for company name). This code worked without issues in Beta 2.  Please could someone guide me so that I know how to move forward here.

Much appreciated.

Gareth

<my2:RadGridView x:Name="CRFGrid" HorizontalAlignment="Left" VerticalAlignment="Top" Height="700" Width="Auto" AutoGenerateColumns="False" ItemsSource="{Binding Data,ElementName=MyData}" >

<my2:RadGridView.Columns>

<my2:GridViewDataColumn x:Name="RequestId" DataMemberBinding="{Binding RequestId}" Header="CRF #" Width="60" DataFormatString="TCRF00{0}"/>

<my2:GridViewDataColumn x:Name="RequestTitle" DataMemberBinding="{Binding RequestTitle}" Header="Title" Width="180" />

<my2:GridViewDataColumn x:Name="Company" DataMemberBinding="{Binding Company.CompanyName}" Header="Company" Width="110" />

</my2:RadGridView.Columns>

</my2:RadGridView>

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Mar 2010, 02:39 PM
Hello,

Can you verify if your scenario will work with standard Silverlight DataGrid normally?

Kind regards,
Vlad
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
Gareth Whitlock
Top achievements
Rank 1
answered on 24 Mar 2010, 02:48 PM
I have tried and it does not work with the standard datagrid either.
Tags
GridView
Asked by
Gareth Whitlock
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Gareth Whitlock
Top achievements
Rank 1
Share this question
or