protected void Page_Load(object sender, EventArgs e)
        {
            if (SSOConfig.SystemAuthenticationMode == SSOConfig.AuthenticationMode.SSOMode)
            {
                SSOProvider.RedirectToBSFDefaultUrl(this);
            }

            if (X.IsAjaxRequest)
            {
                return;
            }

            this.Session["Ext.Net.Theme"]   = Ext.Net.Theme.Default;
            this.cbTheme.SelectedItem.Value = this.ResourceManagerProxy1.Theme.ToString();
            this.lblUser.Text  = string.Format("<b>{0}</b>", this.Context.User.Identity.Name.ToString());
            this.lblToday.Text = string.Format(GetLocalResourceObject("msgDateInfo").ToString(), System.DateTime.Now);

            SystemSettingWrapper settingWrapper = SystemSettingWrapper.GetCurrentSystemSetting();

            locSystemName.Text = settingWrapper.LocaLocalizationName + "&nbsp;" + settingWrapper.SystemVersion;
            locCopyRight.Text  = settingWrapper.LocaLocalizationLisence;



            InitLeftMenu();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (SSOConfig.SystemAuthenticationMode == SSOConfig.AuthenticationMode.SSOMode)
     {
         SSOProvider.RedirectToBSFDefaultUrl(this);
     }
     FormsAuthentication.RedirectToLoginPage();
 }