6
I have a Repeater control with data filled in an aspx page, the same page has the modal, the modal appears when clicking a button. How to reuse the same Reset to list in modal?
Repeater:
<asp:Repeater ID="rptPagamentos" runat="server" OnItemDataBound="rptPagamentos_ItemDataBound">
<ItemTemplate>
<div class="contexto">
<span class="font00">Tipo: </span><span class="font01">
<asp:Literal ID="ltTipoPagamento" runat="server"></asp:Literal>
</span>
<br />
<span class="font00">Parcelas: </span><span class="font01">
<asp:Literal ID="ltParcelasPagamento" runat="server"></asp:Literal>
</span>
<br />
<span class="font00">Valor: </span><span class="font01">
<asp:Literal ID="ltValorPagamento" runat="server"></asp:Literal>
</span>
</div>
<br />
<span class="linha-busca"></span>
</ItemTemplate>
</asp:Repeater>
Modal
<div class="modal fade open" id="myModal" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<b>Pedido enviado com sucesso!</b>
<span><strong>Pedido: </strong></span>
<asp:Literal ID="LtSeqModal" runat="server"></asp:Literal>
</span>
</div>
<div class="modal-body">
QUERO O REPEATER AQUI
QUERO O REPEATER AQUI
</div>
<div class="modal-footer">
<div class="col-sm-12" align="center">
<asp:LinkButton ID="LinkButton2" CssClass="btn btn-default" runat="server" OnClick="LinkButton2_Click">Ok</asp:LinkButton>
</div>
</div>
</div>
</div>
</div>
How to use the same Reset on the same page inside the modal?
You want to display the Repeat data in Modal, ie make a copy of it in Modal?
– Marconi
yes, exactly...
– War Lock