Hi, it's still not working. I'm getting the object reference not set to an instance of an object error when I run
rptVideos.DataBind();
Here's how I'm declaring the repeater.
<cms:CMSRepeater ID="rptVideos" runat="server" OnItemDataBound="rptVideos_ItemDataBound" DelayedLoading="true">
<HeaderTemplate><ul class="Videos"></HeaderTemplate>
<ItemTemplate>
<li class="<%# Container.ItemIndex % 4 == 3 ? "Last" : "" %>">
// display a video
</li>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</cms:CMSRepeater>
Here's my unipager
<cms:UniPager ID="ucUniPager" runat="server" PageControl="rptVideos" PageSize="4" GroupSize="4" />
Here's the code behind for setting the datasource for rptVideos
rptVideos.DataSource = this.VideoFeed.Entries.Skip(1).ToList();
rptVideos.DataBind();