G
Guest
I dropped a DataGrid control onto a Web UserControl (.ascx) and added columns
for Editing and Deleting data. At first, I had everything working; when the
edit button was clicked the row entered edit mode, the update and cancel
buttons worked as expected, and when the delete button clicked the row was
properly deleted.
Now, however, while in edit mode I click on the cancel button and the
DeleteCommand event fires instead of CancelCommand. DeleteCommand also fires
when the delete button is clicked, as it should. Could anyone tell me why
this is happening? I've tried rolling back changes, but I still can't get it
to work.
for Editing and Deleting data. At first, I had everything working; when the
edit button was clicked the row entered edit mode, the update and cancel
buttons worked as expected, and when the delete button clicked the row was
properly deleted.
Now, however, while in edit mode I click on the cancel button and the
DeleteCommand event fires instead of CancelCommand. DeleteCommand also fires
when the delete button is clicked, as it should. Could anyone tell me why
this is happening? I've tried rolling back changes, but I still can't get it
to work.