XMLDatasource with Nested Repeater

Vic Carter asked on August 6, 2018 20:58

I have need to use an XML datasource and a repeater nested withing another repeater webpart. Even though I am not getting an error, I keep getting the zeroRows text. Can someone point me to an example of this type of usage for the XMLDataSource webpart.

<cms:XMLDataSource ID="RssXML" XmlUrl="[RSSFEEDXML]" TableName="item" OrderBy="'pubDate' DESC" TopN="5" CacheMinutes="20" runat="server"  />
<cms:CMSRepeater ID="NewsRepeater" DataSourceName="RssXML" TransformationName="custom.news.BWRSS"  HideControlForZeroRows="false" DataBindByDefault="true" ZeroRowsText="No Data" runat="server" />

The feed has been omitted for privacy reasons, however it does work in another non nested solution.

Recent Answers

Juraj Ondrus answered on August 7, 2018 11:36

In general the nested repeater inherits few things from the parent control. Anyway, you can try setting the "DelayedLoading" property of the nested repeater to true to give it more time when loading the data. If this will not help, then I would recommend creating a fully custom user control which will display the data you need.

0 votesVote for this answer Mark as a Correct answer

Vic Carter answered on August 7, 2018 15:29

Thank you for the reply, I will try that.

0 votesVote for this answer Mark as a Correct answer

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