Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Can't set the DataSource on a DataPresenter that has items added explicitly through the DataItems collection.
posted

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>