M
MRW
Hello!
I'm trying to execute a code so when a record in a DetailsView is
deleted, it will first have to be confirmed (with as little code as
possible). The DetailsView is attacked to an ObjectDataSource. I was
thinking of having the ItemDeleting command 'intercept' the delete
command and make a confirmation button visible on the screen, THEN when
the person clicks the button the ObjectDataSource executes the delete
command. My question is, is there a way, in the ItemDeleting command
to stop the deletion command from executing?
Thanks for any help!
I'm trying to execute a code so when a record in a DetailsView is
deleted, it will first have to be confirmed (with as little code as
possible). The DetailsView is attacked to an ObjectDataSource. I was
thinking of having the ItemDeleting command 'intercept' the delete
command and make a confirmation button visible on the screen, THEN when
the person clicks the button the ObjectDataSource executes the delete
command. My question is, is there a way, in the ItemDeleting command
to stop the deletion command from executing?
Thanks for any help!