/// <summary> /// 取得附縮圖的網頁內容清單 /// </summary> public Article_GetListWithThumb(HttpContext context) : base(context) { c = new OtherArticlePageCommon(context, null); c.InitialLoggerOfUI(this.GetType()); artPub = new ArticlePublisherLogic(); }
protected void Page_PreInit(object sender, EventArgs e) { c = new OtherArticlePageCommon(this.Context, this.ViewState); c.InitialLoggerOfUI(this.GetType()); if (!c.RetrieveArticleIdAndData()) { Response.Redirect(c.ERROR_PAGE); } articleData = c.GetArticleData(); artPub = new ArticlePublisherLogic(null); masterSettings = (IMasterArticleSettings)this.Master; }
protected void Page_PreInit(object sender, EventArgs e) { c = new OtherArticlePageCommon(this.Context, this.ViewState); c.InitialLoggerOfUI(this.GetType()); if (!c.RetrieveArticleIdAndData(Guid.Empty)) { Response.Redirect(c.ERROR_PAGE); } articleData = c.GetArticleData(); articleData.ArticleSubject = ""; artPub = new ArticlePublisherLogic(null); masterSettings = (IMasterArticleSettings)this.Master; masterSettings.IsHomePage = true; masterSettings.CustomBannerSubjectHtml = "<h2>We Are Creative People<span></span></h2><h1>Display Creative Studio</h1>"; }