【发布时间】:2014-08-29 09:26:12
【问题描述】:
我有这个链接
<a href='' data-toggle='modal' data-target='#modalC'>Book Now</a>
我有这段代码可以打开一个引导模式弹出窗口。
<div class="modal fade" id="modalC" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">Cantidad reservas mensuales</h4>
</div>
<div class="modal-body" id="content">
</div>
</div>
</div>
</div>
出现在 div 中的所有内容都显示在模态弹出窗口中,所以我的问题是有没有办法在模态弹出窗口中显示我已经创建的 aspx 网络表单,而不必将所有 html 和代码隐藏复制到这个 div 中?
我听说过一些关于 window.open 的事情,但我认为不是这样,提前谢谢你。
【问题讨论】:
-
我正在更新旧版应用程序,而不是从网络表单中更改它,并且有同样的问题。将所有代码从一个文件复制到另一个文件听起来像是一团糟。我很高兴其他人也有同样的问题。
标签: asp.net twitter-bootstrap popup modal-dialog window