I have a GridView where I am deleting a row with a link button.
But I am getting an error:
[HttpException (0x80004005): The GridView 'GridView1' fired event RowDeleting which wasn't handled.]
System.Web.UI.WebControls.GridView.OnRowDeleting(GridViewDeleteEventArgs e) +1483085
System.Web.UI.WebControls.GridView.HandleDelete(GridViewRow row, Int32 rowIndex) +637
My GridView is:
I have no OnRowDeleting on my GridView, so why would I get an error?
Thanks,
Tom
But I am getting an error:
[HttpException (0x80004005): The GridView 'GridView1' fired event RowDeleting which wasn't handled.]
System.Web.UI.WebControls.GridView.OnRowDeleting(GridViewDeleteEventArgs e) +1483085
System.Web.UI.WebControls.GridView.HandleDelete(GridViewRow row, Int32 rowIndex) +637
My GridView is:
Code:
<asp:GridView visible="False"
border="1"
id="GridView1"
runat="server"
AutoGenerateColumns="False"
GridLines="None"
ShowFooter="true"
OnRowCreated="GridView1_RowCreated"
OnRowDataBound="GridView1_RowDataBound"
OnRowCommand="DataInsert"
onEditCommand="DataEdit"
onCancelCommand="DataCancel"
onUpdateCommand="DataUpdate">
I have no OnRowDeleting on my GridView, so why would I get an error?
Thanks,
Tom