Nested CMS Repeater

Hadi Wijaya asked on June 18, 2014 09:52


In my current project, I created a custom web part that use nested CMSRepeater as shown below.

<cms:CMSRepeater ID="rpMainMenu" runat="server"> </cms:CMSRepeater>

When I add this custom web part into Site master page and refresh the page tab, my PC suddenly running slow. Then I checked the memory usage, I surprised that the working process toke a lot of memory and keep increasing until more than 5GB. When I removed the third level CMSRepeater, the issue was not happening.

Did anyone ever get this issue before?

Any helps would be appreciated. Thanks.

  • Hadi -

Recent Answers

Yehuda Lando answered on June 18, 2014 15:18

Never got that high, and I'm doing some intensive queries. What version are you using, and what exactly is your layout?

Also, make sure you're not getting more columns than you need.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on June 19, 2014 06:31

If you have 2 nested repeaters you should consider using the Hierarchical Viewer instead. It doesn't have the performance issues that a nested repeater does. Turn on debugging in settings and see what your query looks like, probably tell you a lot about whats going on with that webpart.

1 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on June 19, 2014 06:54

Yes, that's why there are hierarchical transformations:

Hierarchical transformations

Best regards, Jan Hermann

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.