Exemplo n.º 1
0
        protected void lbSaveClose_Click(object sender, EventArgs e)
        {
            FormDocumentData.Save();

            string retVal = "try {window.opener.location.href=window.opener.location.href;} catch (e) {;}setTimeout('window.close();', 500);";

            ClientScript.RegisterStartupScript(this.Page, this.GetType(), Guid.NewGuid().ToString("N"), retVal, true);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Handles the Click event of the lbSave control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void lbSave_Click(object sender, EventArgs e)
        {
            FormDocumentData.Save();
            MetaClassName = FormDocumentData.MetaClassName;
            FormName      = FormDocumentData.Name;

            BindDD();
        }