This project is read-only.

Adding pages manually

Topics: ASP.NET 2.0, Themes
Jan 25, 2012 at 10:46 AM

Hi, I was adding a page manually to my site and had a problem with setting master pages. I looked at the default pages and they didn't have a master page set, which leads me to believe that it is set at runtime (to accommodate changing of themes). If I add a new page, how can I make it use this feature?

Jan 25, 2012 at 4:00 PM

Take a look at any page in the "root" of the site, for example archive:

public partial class archive : BlogEngine.Core.Web.Controls.BlogBasePage
That "BlogBasePage" it inherits from will apply master page at runtime.