EntityDev
2016-04-07T11:28:01Z
Hello,

I'm looking for a grid which will work well with Entity Framework, and am attempting to evaluate your IGrid control.

I attempted to populate it with data in VS2010, .Net 4. Entity Framework 5, Windows 7 machine.

The following methods were attempted:


Using context = New TestEntities
    Me.IGrid1.FillWithData(context.Customers)
End Using

The Type is DbSet(Of T). I didn't really expect this one to work.


Using context = New TestEntities
    context.Customers.Load()
    Me.IGrid1.FillWithData(context.Customers.Local)
End Using

The Type is an ObservableCollection(Of T). I expected this to work.


Using context = New TestEntities
    context.Customers.Load()
    Me.IGrid1.FillWithData(context.Customers.Local.ToBindingList)
End Using

The Type is a BindingList(Of T). I expected this to work.


Using context = New TestEntities
    context.Customers.Load()
    Me.IGrid1.FillWithData(context.Customers.Local.ToList)
End Using

The Type is a generic List(Of T). I expected this to work.

In all cases, an ArgumentException was thrown:
The specified data source isn't supported
Parameter name: dataSource

The introduction I read on your site suggests that the grid supports binding to IBindingList, among other interfaces. Do you have any idea why the ArgumentException is thrown?

Thank you.
Igor/10Tec
2016-04-07T18:08:02Z
Where did you find IBindingList mentioned on our website?

According to the documentation, the FillWithData method expects one of the following data sources:

a DataTable, DataView, IDbCommand, or IDataReader.
EntityDev
2016-05-17T11:50:14Z
Thank you for your reply. I'm not sure now where I might have seen mention of IBindingList. At the time I was evaluating many grids and I continue to do so. I likely confused another vendor's information with yours. I have now read most of your documentation and am much more familiar with the various sources of data your product supports. Unfortunately I require a grid which supports binding to, at a minimum, IList.

Thank you for making the demo product available for review.