RadGridView External Row Details Provider

3 posts, 0 answers
  1. Robert
    Robert avatar
    4 posts
    Member since:
    Feb 2011

    Posted 01 Aug 2011 Link to this post

    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. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 01 Aug 2011 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Robert
    Robert avatar
    4 posts
    Member since:
    Feb 2011

    Posted 01 Aug 2011 Link to this post

    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!
Back to Top