Hello all,
I've got an editor in my Silverlight program that is having trouble updating the featurelayer it's currently editing.
All other funtions are working like they should except for one thing. I disabled the DeleteSelected button and replaced it with a method that flags a "REMOVED" field. The MXD for that map has a Definition Query that only allows features where REMOVED IS NULL. This method work fine, but when I hit the Save button, the feature is still there.
I've figured out that if I have an separate button that only updates the featurelayer, the feature goes away. For whatever reason, the feature layer is not being updated when I save. I've tried calling the FeatureLayer.Update in the EditCompleted event when the Action is "Save", but that doesn't work.
If it make a difference, I'm also using a FeatureDataForm to edit attributes. When I hit my Remove button, I see the field populated so I know that it's working. Does having the feature I'm editing in the FeatureDateForm cause any issues? If not, then why does the FeatureLayer still keep it's graphics after I update it if it is even being updated.
Will