protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { // set page variables String strTitle = "System Settings"; Literal page_title = (Literal)Master.FindControl("page_title"); page_title.Text = strTitle; Label body_title = (Label)Master.FindControl("body_title"); body_title.Text = strTitle; // get data for gradient values lblOne.Value = GradientValues.getValue1(); lblTwo.Value = GradientValues.getValue2(); lblThree.Value = GradientValues.getValue3(); String strAlgorithm = "Select Algorithm Options"; image_algorithm.ImageUrl = "/Content/Images/icons8-workflow-100.png"; button_algorithm.Text = strAlgorithm; title_algorithm.InnerText = strAlgorithm; String strTier = "Adjust Index Tiers"; image_tier.ImageUrl = "/Content/Images/icons8-adjust-100.png"; button_tier.Text = strTier; String strColor = "Change Gradient Colors"; image_color.ImageUrl = "/Content/Images/icons8-paint-palette-100.png"; button_color.Text = strColor; } }