Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Problem with modalpopupextender

$
0
0

within the modal popup I have a label which I assign Text dynamically, when show popup, this text is not, the label is blank, what can it be?

Thank you

See the code

<div>

<asp:modalpopupextender runat="server" id="modal" popupcontrolid="PopmensajeModal"
backgroundcssclass="modalBackgroundError" dropshadow="false" repositionmode="RepositionOnWindowScroll"
targetcontrolid="hiddenTargetControlForModalPopup">
</asp:modalpopupextender>
<%--PONER UN BOTON INVISIBLE SIN FUNCIONAMIENTO Y ASIGNARLO AL TargetControlID DEL MODAL--%>
<asp:Button runat="server" ID="hiddenTargetControlForModalPopup"
Style="display: none" onclick="hiddenTargetControlForModalPopup_Click" />
<asp:Panel runat="server" CssClass="modalPopup" ID="PopmensajeModal" Style="display: none;
width: 350px; padding: 10px">
<asp:Label ID="lblMensajeModal" runat="server" Text=" "></asp:Label>
<asp:Button runat="server" ID="btnAceptar" Text="Aceptar"
onclick="btnAceptar_Click" />

</asp:Panel>
</div>

And i set the Text of the label on X Method

And later in other Button I Call  the modal.show();


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>