protected void Timer23_Tick(object sender, EventArgs e) { if (Session["RoleName_s"].ToString().Trim().ToLower() == LoginType.Buyer.ToLower()) { Order_BL order = new Order_BL(); bool result = order.BuyerOrderStatusCheck(Session["BuyerId"].ToString()); if (result) { btnTrackPOBuyer.Style.Add("background-color", "Blue"); } } }