Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bunch of inherited EditorServerCommandActions in my WebADF solution and whenever I use the ReturnMessage inside EditorServerAction() it generates two javascript popups at the client side.

Is this a common know error or am I simply missing something?

public class CustomCommandAction : EditorServerCommandAction
    protected override void EditorServerAction()
share|improve this question
What version of ArcGIS? – Kirk Kuykendall Sep 13 '10 at 13:04
It's runing at v. 9.3.1 – cyberzed Sep 17 '10 at 21:59

I know this might sound obvious, but is something calling that routine twice? If you set a break point at ReturnMessage is it hit twice? If so, you could dig into where it is coming from. Perhaps there is more than one instance of the CustomCommandAction somehow.

share|improve this answer
I took a peek at EditorServerCommandAction in Reflector, and the ServerAction(ToolbarItemInfo) method calls ReturnMessage. – Adam Armour Sep 13 '10 at 15:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.