<script type="text/javascript">
function delete123() {
if (confirm('Do you want to delete this record?')){
return true;
}
else
{
return false;
}
}
</script>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="LinkBtnDelete" runat="server" OnClientClick="return delete123();"
CommandName="Delete">Delete</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
No comments:
Post a Comment