private void ToggleToken() { if (bll.IsvalidToken()) { MultiView5.ActiveViewIndex = 0; MultiView2.ActiveViewIndex = 0; MultiView3.ActiveViewIndex = 0; MultiView1.ActiveViewIndex = -1; rdcash.Checked = true; Button1.Enabled = false; Button1.Visible = true; txtofficer.Text = Session["FullName"].ToString(); txtCustRef.Focus(); LoadPayTypes(); } else { MultiView5.ActiveViewIndex = 1; DateTime now = DateTime.Now; Label1.Text = "No Active Transaction Token in the System for " + now.ToString("dd-MM-yyyy"); Button1.Visible = false; } }