Example #1
0
 public void LoadForum(SPKTCore.Core.Domain.BoardForum forum)
 {
     lblForumName.Text = forum.Name;
     lblCreateDate.Text = forum.CreateDate.ToLongDateString();
     lblPostCount.Text = forum.PostCount.ToString();
     hlkTatCaBaiViet.NavigateUrl = "/Forums/ViewForum1.aspx?ForumID=" + forum.ForumID.ToString();
     hlkDangBaiMoi.NavigateUrl = "/Forums/Post.aspx?IsThread=1&ForumID=" + forum.ForumID.ToString();
 }
Example #2
0
 public void LoadCurrentInformation(SPKTCore.Core.Domain.Account account)
 {
     lblUserName.Text = account.UserName;
     lblOldTenHienThi.Text = account.DisplayName;
     txtTenHienThi.Text = account.DisplayName;
     lblEmail.Text = account.Email;
     //txtDisplayName.Text = account.UserName;
     //txtEmail.Text = account.Email;
 }
Example #3
0
 public void LoadPost(SPKTCore.Core.Domain.Blog blog)
 {
     lblTitle.Text = blog.Title;
     lblSubject.Text = blog.Subject;
     lblBody.Text = blog.Post;
     lblCreateDate.Text = blog.CreateDate.ToString();
     lblUpdateDate.Text = blog.UpdateDate.ToString();
     UCComments.SystemObjectRecordID = blog.BlogID;
 }
Example #4
0
 public void LoadPost(SPKTCore.Core.Domain.Blog blog)
 {
     txtTitle.Text = blog.Title;
     txtSubject.Text = blog.Subject;
     editBody.Content = blog.Post;
     ckPubic.Checked = blog.IsPublished;
     //litBlogID.Text = blog.BlogID.ToString();
     ViewState["BlogID"] = blog.BlogID;
     //litCreateDate.Text = blog.CreateDate.ToString();
     ViewState["CreatedDate"] = blog.CreateDate;
 }
Example #5
0
 public void DisplayCurrentAccount(SPKTCore.Core.Domain.Account account)
 {
     if (account != null)
     {
         lblXinChao.Text = "Xin chào: ";
         lbtnProfile.Visible = false;
         lbtnProfile.Text = account.UserName;
     }
     else
         lblXinChao.Text = "Chưa Đăng Nhập";
 }
Example #6
0
        public void LoadCurrentInformation(SPKTCore.Core.Domain.Account account)
        {
            lblUserName.Text = account.UserName;
            lblOldTenHienThi.Text = account.DisplayName;
            txtTenHienThi.Text = account.DisplayName;
            lblEmail.Text = account.Email;

            if (account.UseAuthenticationService != null && ((bool)account.UseAuthenticationService))
            {
                rdbUseDKMH.Checked = true;
            }
            else
                rdbUseMXH.Checked = true;
            //txtEmail.Text = account.Email;
        }
Example #7
0
 public void LoadCurrentInformation(SPKTCore.Core.Domain.Account account)
 {
     lblUserName.Text = account.UserName;
     txtDisplayName.Text = account.UserName;
     txtEmail.Text = account.Email;
 }