Esempio n. 1
0
        /// <summary>
        /// Handles back click, save LOI record and go to project creation
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void HandleBackClick(object sender, EventArgs e)
        {
            SaveLargeFields();

            LOIForm.Save(int.Parse(LetterOfIntentId));

            // Go To Project Details
            Response.Redirect("AdminCreateProject.aspx?projectId=" + ProjectId + "&loiId=" + LetterOfIntentId);
        }
Esempio n. 2
0
        protected void SaveAndPrint(object sender, EventArgs e)
        {
            SaveLargeFields();

            LOIForm.Save(int.Parse(LetterOfIntentId));

            string printScript = "window.open('..//LetterOfIntent.aspx?IsEditable=true&projectId=" + ProjectId + "','PrintView', 'toolbars=no,resize=no,scrollbars=yes,width=800,height=700,left=300,top=200');";

            Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Print", printScript, true);
        }
Esempio n. 3
0
 /// <summary>
 /// Handles next click, takes user to associated institutions
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void HandleNextClick(object sender, EventArgs e)
 {
     SaveLargeFields();
     LOIForm.Save(int.Parse(LetterOfIntentId));
     Response.Redirect("AdminAddEditInstitutionAndContacts.aspx?projectId=" + ProjectId + "&loiId=" + LetterOfIntentId + "&isWizard=true");
 }