Nested DataPagers problem

Posted by diamandiev on Stack Overflow See other posts from Stack Overflow or by diamandiev
Published on 2010-04-08T01:08:34Z Indexed on 2010/04/08 1:13 UTC
Read the original article Hit count: 620

Filed under:
|
|

Sample code

<asp:Repeater>

  <ItemTemplate>

    <asp:ListView DataSource=<%# Container.DataItem.Items %> ... />

    <asp:DataPager .... />

  </ItemTemplate>

</asp:Repeater>

This does not work.

The repeater data source is not a datasource control

It is set like so

repeater.DataSource = datasource
repeater.DataBind()

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about controls