Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Why does datarule type List, only return 20 results
aaronlawrence
#1 Posted : Friday, September 23, 2011 3:21:54 AM(UTC)
Rank: Newbie
Groups: Registered

Joined: 9/23/2011(UTC)
Posts: 2
Hello, we have a very simple site. There is a content folder, and a Content Template that lists it.
It has a single DataRule of type List, pointing to the Content Folder.

<%
var articles = this.GetContents("ArticleList");
foreach (var item in articles)
{
%>
<li>
<%= Html.PageLink(item["Title"].ToString(),"help",new {ArticleId= item["ArticleId"]}) %>
</li>
<%
}
%>

This works, but only lists the first 20 items. How do I get the rest of them?

(Kooboo2)
Thanks
jifeng
#2 Posted : Friday, September 23, 2011 5:25:30 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
Can you check the Top setting in the datarule?
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
aaronlawrence
#3 Posted : Sunday, September 25, 2011 9:12:53 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 9/23/2011(UTC)
Posts: 2
Hi Jifeng,

I don't see any "Top" setting..

jifeng
#4 Posted : Monday, September 26, 2011 1:34:23 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
The option is hidden:
jifeng attached the following image(s):
Capture.PNG (18kb) downloaded 19 time(s).

You cannot view/download attachments. Try to login or register.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.578 seconds.