I have seen a few articles on adding a "add new record" sort of feature in the footer of a datagrid. I would like to know if it is possible to do the following:
Have an EditCommandColumn and a DeleteCommandColumn that has a footer template so that I can add the "add" button in the footer of the EditCommandColumn and a "Cancel" button in the footer of the DeleteCommandColumn.
I attempted to do this by turning the Edit/DeleteCommandColumns into Template columns and then the appropriate commandevents stopped working and became intercepted by the itemcommand event. Here is what I did for the edit command column: