protected void BindData(CY.UME.Core.Business.Activities active) { CY.UME.Core.PagingInfo pageInfo = new CY.UME.Core.PagingInfo(); pageInfo.CurrentPage = 1; pageInfo.PageSize = 20; if (active != null) { topicList = CY.UME.Core.Business.Topic.GetActiveTopicesByDateCreated(active.Id.ToString(), pageInfo); } int count = active.GetActiveTopicesNum(); authorname.Value = ""; minviewnum.Value = ""; maxviewnum.Value = ""; minreplynum.Value = ""; maxreplynum.Value = ""; title.Value = ""; tm_HiddenPageSize.Value = "20"; tm_HiddenRecordCount.Value = count.ToString(); tm_HiddenSiteUrl.Value = SiteUrl; }