A Modal Popup Dialog Window
Inheritance: System.Web.UI.WebControls.Panel, INamingContainer
Ejemplo n.º 1
0
 /// <summary>
 /// Adds the popup controls.
 /// </summary>
 private void AddPopupControls()
 {
     ModalIFrameDialog modalPopup = new ModalIFrameDialog();
     modalPopup.ID = "modal-popup";
     this.Form.Controls.Add( modalPopup );
 }
Ejemplo n.º 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 );
 }
Ejemplo n.º 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 );
        }