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

RadGridView External Row Details Provider

2 Answers 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 01 Aug 2011, 05:31 PM
I have a RadGridView using a DetailsPresenter (external).  It works great, however if the grid only have one record, the provider doesn't show anything.  Any thoughts as to why?

Here is how I have my RowDetailsTemplate defined:

                <telerik:RadGridView.RowDetailsTemplate>
                    <DataTemplate>
                        <local:NonLaborCostCodeDetailRowTemplate x:Name="NonLaborCostCodePresenter"/>
                    </DataTemplate>
                </telerik:RadGridView.RowDetailsTemplate>

and below, outside the RadGridView tags, I have the following:

            <Border Grid.Row="1" x:Name="externalDetailsBorder" BorderBrush="#FF848484" BorderThickness="1,0">
                <telerik:DetailsPresenter x:Name="ExternalPresenter"
                                      DetailsProvider="{Binding RowDetailsProvider, ElementName=radGridView1}"/>
            </Border>

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 01 Aug 2011, 06:04 PM
Hi Robert,

I have tried to reproduce the issue you reported, but still without any success. May you take a look at the sample attached to verify whether I am missing something ? 
 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Robert
Top achievements
Rank 1
answered on 01 Aug 2011, 08:44 PM
When I downloaded your sample, I noticed that you were using a newer version of the WPF Controls.  I downloaded the new controls and updated my project and it works perfectly now.

Thanks!
Tags
GridView
Asked by
Robert
Top achievements
Rank 1
Answers by
Maya
Telerik team
Robert
Top achievements
Rank 1
Share this question
or