Posted on: 2/7/2014 7:14:54 AM | Views : 2536

Hi
Can anyone help to how show Modal dialog for delete confirmation.

My current code:
<script type="text/javascript"> function ConfirmDelete() { var X = confirm("Are You Sure to Delete this record?"); if (X == true) { return true; } else { return false; } } </script> <asp:ImageButton ID="BtnDelete" runat="server" CommandArgument='<%# Bind("ID")%>' CommandName="Delete" OnClientClick="return ConfirmDelete()" ImageUrl="~/Images/Icons/Delete.png" ToolTip="Delete" Height="18" Width="18" />
i Want to show bootstrap modal dialog like this:
<div class="modal fade" id="DeleteModal" tabindex="-1" ro ...

Go to the complete details ...