Exemplo n.º 1
0
    protected void Page_PreInit(object sender, EventArgs e)
    {
        c = new SearchPageCommon(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;
        masterSettings.ShowBreadcrumbAndSearchArea = false;
    }
 protected void Page_Init(object sender, EventArgs e)
 {
     c = new SearchPageCommon(this.Context, this.ViewState);
     c.InitialLoggerOfUI(this.GetType());
 }