// ///////////////////////////////////////////////////////////////////////////////////////////////////// // STEP7 - FINISH OPTIONS // // //////////////////////////////////////////////////////////////////////// // STEP7 - FINISH OPTIONS - METHODS // private void StepFinalStepIn() { // Set instruction mWizard2 master2 = (mWizard2)this.Master; master2.WizardInstruction = "What would you like to do?"; string url = ""; RuleGateway ruleGateway = new RuleGateway(null); int ruleId = ruleGateway.GetLastRuleId(); hdfUpdate.Value = "yes"; url = "./checklist_rules_summary.aspx?source_page=checklist_rules_add.aspx&rule_id=" + ruleId.ToString(); lkbtnOpenUnit.Attributes.Add("onclick", string.Format("return lkbtnOpenServiceClick('{0}');", url)); url = "./checklist_rules_edit.aspx?source_page=checklist_rules_add.aspx&rule_id=" + ruleId.ToString(); lkbtnEditUnit.Attributes.Add("onclick", string.Format("return lkbtnEditServiceClick('{0}');", url)); lkbtnClose.Attributes.Add("onclick", "return lkbtnCloseClick();"); }