I have tried to add an event handler to the Row Updated event of my custom control but it is not called.
column which will act as custom column for delete functionality.
You need to include the Grid View Command Field column to add Edit, Update and Cancel Buttons in the Grid View. You need to include Template Field for every column you want to provide Editing because Template Field provides you both Item Template and Edit Item Template to create interface for two separate Grid View modes. You need to handle Grid View events such as Row Editing, Row Canceling Edit and Row Updating to provide desired editing functionality.
Font-Names="Verdana" Font-Size="10" Data Key Names="Product ID" Auto Generate Columns="false" onrowcancelingedit="Grid View1_Row Canceling Edit" onrowediting="Grid View1_Row Editing" onrowupdating="Grid View1_Row Updating"In the above code, I set two properties Show Edit Button and Show Cancel Button of Command Field.
The reason to use a custom button is to provide the Java Script confirmation box to the user when he clicks Delete.
For Edit and Update I have added a command field which will act as the 5As discussed above I have placed 3 textboxes and a button in the Footer Row of the ASP.