/// <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); }
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); }
/// <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"); }