Select to view content in your preferred language

Silverlight 5: The tag FeatureDataGrid' does not exist in XML namespace

2282
4
01-09-2012 09:42 PM
WernerGrift
New Contributor
I have tried including the assembly System.Windows.Controls.Data, and basically all others, but it keeps on failing.

Any ideas?
0 Kudos
4 Replies
ChristopherHill
Deactivated User
0 Kudos
ChristopherHill
Deactivated User
Our current release v2.3 is targeted for Silverlight 4. FeatureDataGrid based on our v2.3 API will not work in Silverlight 5, so far this is the only Toolkit control that we have found to have an issue in a Silverlight 5 application.
0 Kudos
dotMorten_esri
Esri Notable Contributor
This is an unfortunate side effect of Microsoft changing the assembly version numbers from 2.0.5 to 5.0.5 (this is the first time they have done this). So basically what happens is that when the FeatureDataGrid tries to find the base DataGrid control, it can't find it, because it can't find v2.0.5 (which is the assembly version used in Silverlight 2 through 4).
One way to work around this is to reference the SL4 version of the assemblies used by DataGrid (System.Windows.Controls.Data and a couple more I think). This works, but you wont get any enhancements in those assemblies that were updated in SL5 (but that's probably only minor stuff, if any). Leave the core reference assemblies at SL5 versions though - for some reason those doesn't pose a problem.

v3.0 will be released on SL5, so you won't have to deal with this in the future version.
0 Kudos
dotMorten_esri
Esri Notable Contributor
Another thing you could do is go to http://esrisilverlight.codeplex.com and download the toolkit source. Open the silverlight solution and change the projects to target Silverlight 5 (double check that all references now point to v5 versions). Use these assemblies instead, and you should be good to go.
0 Kudos