RadhaKrishnaKiJaya
asked on
Display confirmation when gridview delete link is clicked
Hi Experts,
I have a gridview with a delete link.
<ItemTemplate>
<asp:LinkButton ID="lnkDelete" runat="server" Text="Delete" CommandName ="Delete" OnClientClick="return confirm ('Are you sure you want to delete?')"></asp:LinkButto n>
</ItemTemplate>
With the confirmation I want to add some other values from the Row. So it will be easier to understand. For example there is a date called event date. I want to include that date in the confirmation message.
Thank you
I have a gridview with a delete link.
<ItemTemplate>
<asp:LinkButton ID="lnkDelete" runat="server" Text="Delete" CommandName ="Delete" OnClientClick="return confirm ('Are you sure you want to delete?')"></asp:LinkButto
</ItemTemplate>
With the confirmation I want to add some other values from the Row. So it will be easier to understand. For example there is a date called event date. I want to include that date in the confirmation message.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER