【发布时间】:2018-03-02 13:14:44
【问题描述】:
我正在使用 ASP Web 表单,我想显示一个模态,我需要使用另一个网站数据来实现模态。
现在我正在使用此代码作为弹出窗口打开,但我想在同一网站上打开内容。
<asp:Repeater ID="Resultados" runat="server" >
<HeaderTemplate>
<table class="solicitud ">
<tr >
<th>Agregar OC y SC</th>
<th>Factura y guía despacho</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<a onclick="window.open('/TEST/User/SCyOC.aspx?Number=<%# Eval("num_solicitud") %>','targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300');"><span aria-hidden="true" class="glyphicon glyphicon-upload"></span> SC/OC</a>
</td>
<td>
<a onclick="window.open('/TEST/User/FacturaYDespacho.aspx?Number=<%# Eval("num_solicitud") %>','targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300');"><span aria-hidden="true" class="glyphicon glyphicon-upload"></span> Agregar datos</a>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
对此有何建议?
我尝试使用AjaxControlToolkit,但由于错误无法使用:
只能将 ScriptManager 的一个实例添加到页面中。
【问题讨论】: