You need to change the command argument from Delete to something else like Delete_Product or whatever...

So the gridview creates a row deleting event automatically....

rowupdating which wasn-24

" You are trying with a command name of Delete for your delete button.

This error occurs when I click the Update button to update a row of record. My first take was that gridview needed on Row Updating but after adding (see markup code), still getting same error.

Description: An unhandled exception occurred during the execution of the current web request. Http Exception: The Grid View 'Grid View1' fired event Row Editing which wasn't handled.

Please review the stack trace for more information about the error and where it originated in the code. Source Error: An unhandled exception was generated during the execution of the current web request.

ı have been traying to create dynamic control panel using webusercontrol , delegate,and ADO.

Even ı have write the delegate for deleting and editing ı faced with "The Grid View 'Grid View1' fired event Row Deleting which wasn't handled."problem . Page { Category Resposite _category Resposite=new Category Resposite(); protected void Page_Load(object sender, Event Args e) void Control Panel_Row Sawing(object sender, Grid Event Args e) void Control Panel_Row Deleting(object sender, Grid Event Args e) The code that you have posted is incomplete (missing the aspx file code), from your description of the problem it sounds as though you have not assigned the Row Deleting event to Grid View1.I have a Grid View bound to a Data Table which comes from a database.My goal is to update the one row at the time with a button which is in the same row which calls the follwing Method.But when i run it and click delete and clicking "yes" to confirm. this error appears: The Grid View 'Pending Records Gridview' fired event Row Deleting which wasn't handled. When I click the Update button, I get the aforementioned error. Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) Dim dd As Drop Down List = Direct Cast(Grid View1. Possibly they have mislabeled one of the feedback messages, try adding an empty routine handling each of those.