Atomia.Web.Frame._Default.OnPreInit C# (CSharp) Method

OnPreInit() protected method

Raises the E:System.Web.UI.Page.PreInit event at the beginning of page initialization.
protected OnPreInit ( System e ) : void
e System An that contains the event data.
return void
        protected override void OnPreInit(System.EventArgs e)
        {
            // Session["Theme"] = "Default";

            // foreach (Atomia.Web.Base.Configs.Theme theme in Atomia.Web.Base.Configs.AppConfig.Instance.ThemesList)
            // {
            //    if (theme.isActive)
            //    {
            //        Session["Theme"] = theme.Name;
            //        break;
            //    }
            // }
            // base.OnPreInit(e);
        }