Select to view content in your preferred language

FeatureDataGrid NameSpace

842
2
02-01-2011 08:37 AM
KeithAnderson
Occasional Contributor
In order to get the FeatureDataGrid example to work on my client I had to add in the Following name space to the top of the xaml:

  xmlns:esriToolkitPrimitives="clr-namespace:ESRI.ArcGIS.Client.Toolkit.Primitives;assembly=ESRI.ArcGIS.Client.Toolkit">

After building it worked.
I took it out and re built and still worked.

Anyone know why that example would not work straight out?

Keith
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
Are you talking about this sample? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid

I don't see why adding xmlns:esriPrimitives worked when this specific example does not use it.

I do know that you may need to add project reference to System.Windows.Controls.Data.Input.dll if you simply copied the code to a new Silverlight application.
0 Kudos
KeithAnderson
Occasional Contributor
Thank you Jennifer.
I will try to recreate the issue again on a straight copy into a new SL app.

Keith
0 Kudos