Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1185
Notifying user of Row Delete or delete cancel
posted

I have a webdatagrid where I am able to delete rows without any problem. I have also got the server side RowDeleting event working,which does a dependency check, and cancels the delete if its not permitted. However I'd like to notify the user that this happened - but because the event is asynchronous, I can't update anything else on the page to set a message??

Have you a suggestion as to how I can either:

- somehow pass back a message to the client and display it during the sync call or

- handle the entire thing from the client, including calling an OnDeleting method and acting on its reply (allowed or not allowed) - and thus displaying message using Confirm()/Alert()...etc.