Hi there,
I have a feature data grid with a feature layer binding to it. I am trying to code to let user click on one item in this feature data grid, and the map zoom to this selected feature. However, in the SelectionChanged event handler, the FeatureLayerObject.SelectedGraphics always returns the previous feature been selected (i.e., first time, the SelectedGraphics after click on any item in the feature data grid is null, and second time the SelectedGraphics returns the first feature that was just been selected). This makes that I can't get the geometry of current selected feature form this SelectedGraphics attribute. Has anyone encounter the same problem before?
Thanks for your help in advance!
Wei