Exemplo n.º 1
0
        protected override void OnInit(EventArgs e)
        {
            settings = Engine.Resolve<NavigationSettings>();
            chkShowDataItems.Checked = settings.DisplayDataItems;
            ddlThemes.DataSource = Engine.Resolve<IFileSystem>().GetFiles(Engine.ManagementPaths.ResolveResourceUrl("{ManagementUrl}/Resources/Css/themes"));
            ddlThemes.DataBind();
            ddlThemes.SelectedValue = GetOrAddCookie(Request.Cookies, "default.css").Value;

            base.OnInit(e);
        }
        protected override void OnInit(EventArgs e)
        {
            settings = Engine.Resolve <NavigationSettings>();
            chkShowDataItems.Checked = settings.DisplayDataItems;
            ddlThemes.DataSource     = Engine.Resolve <IFileSystem>().GetFiles(Engine.ManagementPaths.ResolveResourceUrl("{ManagementUrl}/Resources/Css/themes"));
            ddlThemes.DataBind();
            ddlThemes.SelectedValue = GetOrAddCookie(Request.Cookies, "default.css").Value;

            base.OnInit(e);
        }