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()
  • 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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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