Exemplo 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)
            {
                topicList = CY.UME.Core.Business.Topic.GetGroupTopicesByDateCreated(group.Id.ToString(), pageInfo);
            }

            int count = group.GetGroupTopicesNum();

            DDLGroup.SelectedValue = group.Id.ToString();
            authorname.Value = "";
            minviewnum.Value = "";
            maxviewnum.Value = "";
            minreplynum.Value = "";
            maxreplynum.Value = "";
            title.Value = "";
            isRecommend.SelectedIndex = 0;

            tm_HiddenPageSize.Value = "20";
            tm_HiddenRecordCount.Value = count.ToString();
            tm_HiddenSiteUrl.Value = SiteUrl;
        }