예제 #1
0
        protected override void OnPreRender(EventArgs e)
        {
            Lable_id.Text = Request["id"].ToString();
            if (Lable_id.Text != null)
            {
                ArticleDetailsModel model = cmssservice.GetOneArticleContentByID(new Guid(Lable_id.Text));
                ArticleTitle.Text = model.Title;

                editorcontent.Value = model.Body;
                BindCategory(model.CategoryID);
                ArticleWeb.Text        = model.SourceSite;
                ArticleLink.Text       = model.SourceUrl;
                ArticleBriefTitle.Text = model.BriefTitle;
            }
            base.OnPreRender(e);
        }