I'm working on a custom Template Picker that allows users to undo/redo individual edits. I've tried a couple methods that involve replacing either individual graphics, or the entire graphic collection. Both work, but I'm running into the issue where my ObjectIDs are increasing each time graphics are removed/replaced. In the case of individual graphics, this doesn't work for me, because it makes the record drop to the bottom of an associated Feature Data Grid. In the case of the graphics collection, it just doesn't sit well with me. I know that it shouldn't really matter, but the process doesn't feel "clean" to me.
The Flex Viewer has undo/redo capability, and doesn't effect the ObjectID on affected feature. Any idea how this is accomplished and if it can be implemented in Silverlight?