This project is read-only.

Razor theme question (@Page.Title )

Topics: Business Logic Layer, Themes
Sep 13, 2011 at 8:47 PM

Hi Folks,

This is by no means urgent but I just want to kill my curiosity here. I see on the razor's theme(s) that the dynamic @Page.Title property is used. I'm trying to figure out where is assigned. I have been looking at the source code and all I see is the Web Form version being assigned everywhere e.g: In BlogBasePage

  protected override void OnPreRenderComplete(EventArgs e)
            if (BlogSettings.Instance.UseBlogNameInPageTitles)
                this.Page.Title = string.Format("{0} | {1}"BlogSettings.Instance.Name, this.Page.Title);
And ofcourse, in a lot of other places. Where the Razor version is initialized?