protected override void OnInit(EventArgs e) { base.OnInit(e); ThisPage = (PageBase)Page; var activetopics = Topics.GetLatestTopics(TopicCount); if (activetopics == null || !activetopics.Any()) { Hide = true; } else { Hide = false; DataList1.DataSource = activetopics; DataList1.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { ThisPage = (PageBase)Page; }
protected void Page_Load(object sender, EventArgs e) { ThisPage = (PageBase)Page; blogYears.DataSource = Forums.GetUserBlogTopics(ForumId, MemberId); blogYears.Comparer = new YearComparer(); blogYears.DataBind(); }
protected override void OnInit(EventArgs e) { base.OnInit(e); ThisPage = (PageBase)Page; }