Hi,
My goal was to use anonymous types as a quick way to filter and arrange my data for the grid.
But when I bind to the GridView like this:
MainGrid.ItemsSource = (From User In GroupMembers Select User.Username, User.UserId).ToList
I then get this on the following line, no matter what.
MethodAccessException
Telerik.Windows.Data.RecordTreeBuilder`1..ctor(Telerik.Windows.Data.RecordManager, Telerik.Windows.Data.IRecordFactory, Boolean)
My GridView has the following properties set:
IsReadOnly="True"
ColumnsWidthMode="Auto"
Thanks for your help,
-Jason
My goal was to use anonymous types as a quick way to filter and arrange my data for the grid.
But when I bind to the GridView like this:
MainGrid.ItemsSource = (From User In GroupMembers Select User.Username, User.UserId).ToList
I then get this on the following line, no matter what.
MethodAccessException
Telerik.Windows.Data.RecordTreeBuilder`1..ctor(Telerik.Windows.Data.RecordManager, Telerik.Windows.Data.IRecordFactory, Boolean)
My GridView has the following properties set:
IsReadOnly="True"
ColumnsWidthMode="Auto"
Thanks for your help,
-Jason