A Modal Popup Dialog Window
Inheritance: System.Web.UI.WebControls.Panel, INamingContainer
Beispiel #1
0
 /// <summary>
 /// Adds the popup controls.
 /// </summary>
 private void AddPopupControls()
 {
     ModalIFrameDialog modalPopup = new ModalIFrameDialog();
     modalPopup.ID = "modal-popup";
     this.Form.Controls.Add( modalPopup );
 }
Beispiel #2
0
 /// <summary>
 /// Adds the popup controls.
 /// </summary>
 private void AddPopupControls()
 {
     ModalIFrameDialog modalPopup = new ModalIFrameDialog();
     modalPopup.ID = "modal-popup";
     modalPopup.OnCancelScript = "window.parent.Rock.controls.modal.close();";
     this.Form.Controls.Add( modalPopup );
 }
Beispiel #3
0
        /// <summary>
        /// Adds the popup controls.
        /// </summary>
        private void AddPopupControls()
        {
            // Add the page admin script
            AddScriptLink( Page, "~/Scripts/Rock/popup.js" );

            ModalIFrameDialog modalPopup = new ModalIFrameDialog();
            modalPopup.ID = "modal-popup";
            modalPopup.OnCancelScript = "closeModal();";
            this.Form.Controls.Add( modalPopup );
        }