protected void Delete_Click(object sender, EventArgs e) { StoredProcedures sp = new StoredProcedures(); sp.DeleteModelDraft(int.Parse(OpenedDraftHiddenField.Value)); OpenedDraftHiddenField.Value = "0"; ViewState["AllocatedCosts"] = null; ViewState["Expendatures"] = null; ViewState["NetCHG"] = null; ViewState["Assessments"] = null; ViewState["AssessmentMetrics"] = null; ViewState["DifferentialRevenue"] = null; DraftNameLabel.Visible = false; MakeProjections(); }