Hello,
Can someone tell me how to provide a box to provide confirmation before deletion in grid view.
Thanks
Can someone tell me how to provide a box to provide confirmation before deletion in grid view.
I have this thing in my grid view
<ItemTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" AlternateText="Delete Customer"
OnClientClick="javascript:if(!confirm('This action will move the selected employee to his source store . Are you sure?')){return false;}"
CausesValidation="false"
OnClick = "RadGrid1_ItemDeleted1"
CommandName="Delete"
CommandArgument='<%# Eval("EmployeeNumber") %>'
ImageUrl="~/_Layouts/delete/images.jpg" />
</ItemTemplate>
Now in the click event how to I get the row for which the delete was clicked.
Thanks