protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); //Response.Write(SFGlobal.GetUserAlert()); if (SFGlobal.GetUserAlert() != null) { alertMsg.InnerText = SFGlobal.GetUserAlert().ToString(); alertMsg.Visible = true; SFGlobal.ClearUserAlert(); } }