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();