Select to view content in your preferred language

Problem with dynamic binding to featuredatagrid

507
2
05-28-2010 12:03 PM
JamesMolohon
Emerging Contributor
Hi all,
I'm having trouble with a featuredatagrid that I want to programmatically switch the graphicslayer that it is bound to.  When I set the graphicslayer in code like the snip below, the grid appears empty, without gridlines or anything.

MyDataGrid.GraphicsLayer = MyMap.Layers("XYZ")


I have been able to get the grid to work with all of my map layers individually, but not able to switch the grid to utilize a different source.  What am I missing?

Regards,
James M.
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Might be the same issue than this one : http://forums.arcgis.com/threads/2896-FeatureDataGrid-and-SL-API-v2.0?highlight=featuredatagrid

Which version of the ArcGIS SL API are you using?
0 Kudos
JamesMolohon
Emerging Contributor
Thanks, I'm on the 1.2 SDK.  I think that I will need to update to Silverlight 4 and the v2.0 SDK.
0 Kudos