Query before row delete

P

Paja

Hello all,

I would like to display ConfirmDialog with question Are You sure... before
the user deletes the row. I use OnBeforeChange event and if the action is
delete and blabla bla, I would like to display this dialogue. Everything
works fine except one thing. If user chooses the No, i set the false value to
the ReturnStatus member of the DataDOMEvent instance to cancel Delete
operation. But the error messagebox is displayed then. Is there the way how
to cancel the delete without displaying the error message ?

Paja
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top