Hi
I have below control. I want where code behind of below line to be added. Is it to be defined in User Control Or Web Form from where modal popup has been called.
<asp:LinkButton ID="LinkButton1" class="btn bg-danger" runat="server" OnClick="lnkRecordDelete_Click">Delete</asp:LinkButton>
Form Department
htmlTable.Append("<td class='text-center'>");
htmlTable.Append("<a id='btnEdit' class='list-icons-item text-primary-600' data-toggle='modal' data-backdrop='static' data-keyboard='false' data-target='#modal_form_horizontal' onclick='BindData(this);'><i class='icon-pencil7 mr-1'></i></a>");
User Control
<div id="modal_Delete" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">
<asp:Label ID="Label1" Text="Are You Sure, You want to Delete This?" runat="server"></asp:Label></h5>
<button type="button" class="bootbox-close-button close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
<div class="modal-body">
<div class="bootbox-body">
<div class="bootbox-form">
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>
<asp:LinkButton ID="LinkButton1" class="btn bg-danger" runat="server" OnClick="lnkRecordDelete_Click">Delete</asp:LinkButton>
</div>
</div>
</div>
</div>
Thanks