Last post Apr 10, 2014 09:45 AM by dotnetzoom
Apr 10, 2014 09:35 AM|newbie2C#|LINK
I have used the AJAX Control Toolkit in a few years. Is a button like the one below still required for the Moday Popup extender to work?
<ajax:ModalPopupExtender ID="ModalPopupExtender" runat="server" TargetControlID="btnHidden" BehaviorID="MPBehavior1" PopupControlID="pnlModalPopUp" >
<asp:Button ID="btnHidden" runat="server" Text="Button" style="display: none;" />
Apr 10, 2014 09:45 AM|dotnetzoom|LINK
Is a button like the one below still required for the Moday Popup extender to work?
Using hidden button as a target for modal popup extender was never a requirement.
As TargetControlID is a required property, programmers often use a hidden button as target so that modal popup can be shown from code behind manually using PopupId.Show();