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;
 }
Beispiel #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     ThisPage = (PageBase)Page;
     blogYears.DataSource = Forums.GetUserBlogTopics(ForumId, MemberId);
     blogYears.Comparer = new YearComparer();
     blogYears.DataBind();
 }
Beispiel #4
0
 protected override void OnInit(EventArgs e)
 {
     base.OnInit(e);
     ThisPage = (PageBase)Page;
 }