Can't set the DataSource on a DataPresenter that has items added explicitly through the DataItems collection.
I am getting the above error.
I am binding my collection to the DataContext = EntityCollection<myEntityClass>
We are in the process of evaluating the xamgrid.
I am getting the above error for the following error. Any help is much appreciated.
thanks
vairam
<my:XamDataGrid Height="103" Margin="12,25,92,0" Name="xamDataGrid1" VerticalAlignment="Top" DataSource="{Binding}">
<my:FieldLayout>
<my:FieldLayout.FieldSettings>
<my:FieldSettings CellClickAction="SelectRecord"/>
</my:FieldLayout.FieldSettings>
<my:FieldLayout.Fields>
<my:Field Name="appdesc" />
<my:Field Name="appdesccode"/>
</my:FieldLayout.Fields>
</my:FieldLayout>
</my:XamDataGrid>
Thanks for Answer Joe Modica.
with the small app attached that works with ItemSource={Binding} doesn't work for xamDataGrid with settings DataSource="{Binding}"
However the collection itslef has records, both have same settings.
It worked only for Path=.
For the thanks