Select to view content in your preferred language

Trying to integrate FeatureDataGrid and FeatureDataForm for editing table data

428
2
Jump to solution
05-29-2012 03:19 AM
JoeHershman
MVP Regular Contributor
I am trying to edit data from an ObjectClass after getting the first set of problems worked out (see http://forums.arcgis.com/threads/58680-Updating-data-in-a-Table) I thought it would be really nice to use the FeatureDataGrid and FeatureDataForm as is mentioned in a previous thread.  While this is not required there is certainly some nice functionality there I would like to take advantage of.

Setup the FeatureDataGrid no problem but does not seem to me there is a way to integrate the two tools.  I would have thought that I could simply get the SelectedItem and that would be a Graphic which I could then set as the GraphicSource.  But it seems the SelectedItem is an ESRI.ArcGIS.Client.Toolkit.DataSource.TempType2138779241 (seriously?), which is pretty worthless to me.  The SelectedGraphic is also not of any use because it is never populated, I am assuming this is because this is an ObjectClass not a FeatureClass as the source.

Maybe I am missing something.  I have written a working application using the standard Silverlight Toolkit, but I think these tools are really nice and I would like to use them.

Cheers
-Joe
Thanks,
-Joe
0 Kudos
1 Solution

Accepted Solutions
JenniferNery
Esri Regular Contributor
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
You can look at this thread - how to get graphic from selected row http://forums.arcgis.com/threads/46013-FeatureDataGrid-Selection-Changed-Event
0 Kudos
JoeHershman
MVP Regular Contributor
You can look at this thread - how to get graphic from selected row http://forums.arcgis.com/threads/46013-FeatureDataGrid-Selection-Changed-Event


Thanks that solve the problem.  I think it is worth consideration for the next release to have the SelectedGraphic update in this situation, or have a another property to handle this situation so everything could be done with data binding directly in the xaml.

Cheers
-Joe
Thanks,
-Joe
0 Kudos