// ///////////////////////////////////////////////////////////////////////////////////////////////////// // STEP4 - WARNING // // //////////////////////////////////////////////////////////////////////// // STEP4 - WARNING - METHODS // private void StepWarningIn() { // Set instruction Label instruction = (Label)this.Master.FindControl("lblInstruction"); instruction.Text = "Warning: The category you are about to delete contains the following units and checklist rules associated"; foreach (int categoryId in arrayCategoriesSelected) { CategoriesAddNew categoriesAddNew = new CategoriesAddNew(null); tbxWarning.Text = categoriesAddNew.GetRulesAndUnitsByCategoryId(categoryId, Int32.Parse(hdfCompanyId.Value)); } }