S
Samuel Shulman
I have the following code or a delete button in the GridView Control and the
RowDeleteing event is not raised
Can anyone sugget hat is wrong with the code?
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="delete" Runat="server"
OnClientClick="return confirm('Are you sure you want to delete this
record?');"
CommandName="Delete" Text="Delete"/>
</ItemTemplate>
</asp:TemplateField>
RowDeleteing event is not raised
Can anyone sugget hat is wrong with the code?
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="delete" Runat="server"
OnClientClick="return confirm('Are you sure you want to delete this
record?');"
CommandName="Delete" Text="Delete"/>
</ItemTemplate>
</asp:TemplateField>