0
您好我有一個LinkButton的刪除評論在asp.net模式的jQuery確認
<asp:LinkButton ID="lnkDelete" runat="server" CommandName="Delete" CssClass="CommentDeleteBtn" href="#myModal3" role="button" data-toggle="modal" CommandArgument='<%# Eval("Yorum_ID") %>' Visible='<%# Eval("Yorum_Sahibimi") %>' ToolTip="Sil">Delete</asp:LinkButton>
正如你看到我添加的「href =」#myModal3" 角色=‘按鈕’數據切換=‘模式’ 「以模態確認。
我的模式對話框
<div id="myModal3" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel3" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
<h3 id="myModalLabel3">blabla Header</h3>
</div>
<div class="modal-body">
<p>Are You Sure</p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button data-dismiss="modal" class="btn blue" onclick="return true;" >Confirm</button>
</div>
</div>
在LinkButton的點擊模式對話框是確認按鈕點擊displaying.But不刪除command.About返回值? (不是關於asp.net端刪除命令)
相同..不作爲確認(是)按鈕工作 – serdar