Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var theme = ThemeItem;

            if (theme != null)
            {
                Stylesheets.DataSource = theme.Stylesheets;
                Stylesheets.DataBind();
            }
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var themeFiles = ThemeFileResolver.Resolve(CurrentBlog.Theme.Item);

            if (themeFiles.Stylesheets != null)
            {
                Stylesheets.DataSource = themeFiles.Stylesheets;
                Stylesheets.DataBind();
            }
        }