Hi,
I have a little problem
My gridview bind to a Observable collection and work well.
I would add a column wich contains a specific usercontrol and the binding is a List<MyViewModel> but it doesn't.
The datacontext of my control is ever null.
the XAML :
I have a little problem
My gridview bind to a Observable collection and work well.
I would add a column wich contains a specific usercontrol and the binding is a List<MyViewModel> but it doesn't.
The datacontext of my control is ever null.
the XAML :
<telerik:RadGridView Name="RadGridView" Grid.Row="1" ItemsSource="{Binding Path=Documents}" DataLoadMode="Asynchronous" AutoGenerateColumns="False" SelectionMode="Single" CanUserDeleteRows="False" CanUserInsertRows="False">
<telerik:RadGridView.Columns>
...
<telerik:GridViewDataColumn IsReadOnly="True" Header="Fichier(s) joint(s)" DataMemberBinding="{Binding Files}" > <telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<control:UserControl1 DataContext="{Binding Files}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
...
</telerik:RadGridView>