Any one else have an issue with the FeatureDataGrid 3.0 in Silverlight 4?We have the FeatureDataGrid set to a GraphicsLayer that we clear and populate with new "Selected Graphics". Basically a query to the server on a single layer that adds to the GraphicsLayer.The code is built in Silverlight 4 and works fine in Silverlight 5 but when ran in Silvelright 4 it gets a null value exceptions.After debugging the code it appear to be in the following line of code:FeatureDataGrid.Silverlight.cs line ~394
var enumerableGraphics = graphics.ToDataSource(fieldInfo, rangeDomainInfo, fieldProps, uniqueID, FilterSource, out objectType) as IEnumerable<object>;
the graphics.ToDataSource returns a IEnumerable but when it gets cast to IEnumberable<object> it returns null;So I fixed it with the following.
///Fixes for Silverlight 4
var enumerableGraphics = graphics.ToDataSource(fieldInfo, rangeDomainInfo, fieldProps, uniqueID, FilterSource, out objectType).AsList();