Communityserver cannot be divided by page by month

Source: Internet
Author: User

In the View-Month.ascx
<Blog: entrylistcontainer id = "month" blogthreadtype = "month" runat = "server" displayexcerpts = "true" enablepaging = "true"/>

After enablepaging = "true" is added, the "next page" link will appear at the bottom, but in fact there is no page.ArticleI asked this question in communityserver. org for two days. No one answered the question: (it seems that I only rely on myself.

AnalysisCodeThen I found that "entrylistcontainer. cs" has something to do with the display. I checked the source code and actually published several lines:

 

// If (this. enablepaging & this. pagesize! = 0)
//{
// Query. pageindex = entryitems. pageindex;
// Query. pagesize = pagesize;
//}

After the annotation is removed, the compilation succeeds ^ _ ^. I don't know why I need to comment it out. [Name: communityserver paging] [tags: communityserver]

[from alphawu. Blog]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.