protected override void OnInit(EventArgs e) { InitializeComponent(); base.OnInit(e); if (!IsWhatifMode()) { string whatifPart = "whatif_"; Response.Redirect(PAGENAME.Substring(whatifPart.Length)); } tableSync = new TableSyncEquip(userDir); }
protected override void OnInit(EventArgs e) { InitializeComponent(); base.OnInit(e); if (IsWhatifMode()) { Response.Redirect("whatif_equipment.aspx"); } tableSync = new TableSyncEquip(userDir); string sheet = "Cheat Sheat Equipment Input Page"; Master.SetHelpSheet(sheet + ".pdf", sheet); }