protected void Page_Load(object sender, EventArgs e) { AccessManager.RedirectIfDisabled(AppSettings.TitanFeatures.ICOStagesEnabled); if (!IsPostBack) { List <ICOStage> AllStagesList = new List <ICOStage>(); AllStagesList = ICOStage.GetAllNoDeleted(); if (AllStagesList.Count == 0) { NoStageLiteral.Text = L1.NODATA; NoStagePlaceHolder.Visible = true; } else { for (int i = 0; i < AllStagesList.Count; i++) { AllStagesLiteral.Controls.Add(GetStageHTML(AllStagesList[i])); } } } }