Hi
I set ItemSource property of the RadGridView from the code behind as
tTaxoGrid.ItemsSource=taxoTable
The binding occurs in GridViewDataColumns but it fails in RowDetailsTemplate. Following is the XAML I am using. Here txtRemarks is empty.
Even if I use the same binding property as in GridViewDataColumns (e.g, Species), that also fails displaying in RowDetailsTemplate.
Please assist me in this regard
Thank you
<Grid.Resources>
<DataTemplate x:Key="RowDetailsTemplate">
<TextBlock Name="txtRemarks" Text="{Binding Remarks}" />
</DataTemplate>
</Grid.Resources>
<telerik:RadGridView Name="tTaxoGrid" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" AutoGenerateColumns="False">
<telerik:RadGridView.Columns>
<telerik:GridViewToggleRowDetailsColumn />
<telerik:GridViewDataColumn Header="ID" IsVisible="False" DataMemberBinding="{Binding ID}" />
<telerik:GridViewDataColumn Header="Species" DataMemberBinding="{Binding Species}" />
<telerik:GridViewDataColumn Header="Common Name" DataMemberBinding="{Binding Common_Name}" />
<telerik:GridViewDataColumn Header="Sub Order" DataMemberBinding="{Binding Sub_Order}" />
<telerik:GridViewDataColumn Header="Family" DataMemberBinding="{Binding Family}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>