I have a repeater control with data filled in an aspx page, the same page has the modal, the modal appears at the click of a button. How do I reuse the same repeater to list in the modal?
Repeat:
<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 repeater on the same page within the modal?