<script type="text/javascript">
function Confirmation()
{
var answer = confirm("Are You Sure to want to delete?");
if (answer)
{
return true;
alert("Deleted Successfully");
}
else
{
return false;
}
return false;
}
</script>
<asp:LinkButton ID="lbtn_Delete" OnClientClick="return Confirmation();" CssClass="Details" style="text-decoration:none" runat="server" Text="Delete" CommandName="Delete" CommandArgument='<%#Eval("Clipping_Id") %>'></asp:LinkButton>
function Confirmation()
{
var answer = confirm("Are You Sure to want to delete?");
if (answer)
{
return true;
alert("Deleted Successfully");
}
else
{
return false;
}
return false;
}
</script>
<asp:LinkButton ID="lbtn_Delete" OnClientClick="return Confirmation();" CssClass="Details" style="text-decoration:none" runat="server" Text="Delete" CommandName="Delete" CommandArgument='<%#Eval("Clipping_Id") %>'></asp:LinkButton>
No comments:
Post a Comment