Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CancelEdit in RowDeletedEvent handler - 2 message boxes #59

Open
patrickjozef opened this issue Nov 12, 2024 · 0 comments
Open

CancelEdit in RowDeletedEvent handler - 2 message boxes #59

patrickjozef opened this issue Nov 12, 2024 · 0 comments

Comments

@patrickjozef
Copy link

When calling CancelEdit inside a RowDeletedEvent handler, 2 message boxes are displayed.

  • A first message box, showing a custom message, which can be configured by the developer
  • A second message box, showing a generic message "Delete Selected Features failed"

This is a bit annoying for the users of the addin as they have to click Ok twice. The second message seems redundant to me.
I noticed this behavior when I tried to upgrade from version 3.0.6 to 3.3. In 3.4 I see the same behavior.
In version 3.0.6, only the first message box is displayed, which is the desired behavior for me.

The https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Editing/EditEvents sample illustrates this behavior.
First message box :

image

Second message box:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant