protected void CreateButton_Click(object sender, EventArgs e) { UpdateSessionValues(); CardCreateEdit cardCreateEdit = new CardCreateEdit(); cardCreateEdit.SaveCard(_registerId, _cardId, createdFields, createdFileUploads); Response.Redirect("RegisterView.aspx"); }
protected void CreateButton_Click(object sender, EventArgs e) { UpdateSessionValues(); CardCreateEdit cardCreateEdit = new CardCreateEdit(); cardCreateEdit.SaveCard(_registerId, _cardId, createdFields, createdFileUploads, true); string lastPage = (string)Session["currentPage"]; lastPage = "RegisterView.aspx" + lastPage; Response.Redirect(lastPage); }