Ejemplo n.º 1
0
        protected void BindData(CY.UME.Core.Business.Group group)
        {
            CY.UME.Core.PagingInfo pageInfo = new CY.UME.Core.PagingInfo();

            pageInfo.CurrentPage = 1;
            pageInfo.PageSize = 20;

            if (group != null)
            {
                CY.UME.Core.Business.TopicReply tr = new CY.UME.Core.Business.TopicReply();

                topicReplyList = tr.GetTopicReplyByGroupId(group, pageInfo);
            }

            int count = group.GetGroupTopicReplyCount();

            DDLGroup.SelectedValue = group.Id.ToString();

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