예제 #1
0
        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)
            {
                CY.UME.Core.Business.TopicReply tr = new CY.UME.Core.Business.TopicReply();

                topicReplyList = tr.GetTopicReplyByActiveId(active,pageInfo);
            }

            int count = active.GetActiveTopicReplyCount();

            trm_HiddenPageSize.Value = "20";
            trm_HiddenRecordCount.Value = count.ToString();
            trm_HiddenSiteUrl.Value = SiteUrl;
            trm_HiddenActiveId.Value = active.Id.ToString();
        }