Bineesh  Viswanath

Bineesh Viswanath

  • NA
  • 1k
  • 775.6k

ListView Error - No IPageableItemContainer

Aug 29 2013 5:05 AM
Sir, I am getting a error in the ListView Control program.

Here the Error:-





 Html code:-


 <asp:ListView ID="ListView1"  ItemPlaceholderID="PlaceHolder" runat="server"
            onpagepropertieschanging="ListView1_PagePropertiesChanging">
        <LayoutTemplate>
        <br />
            <asp:PlaceHolder ID="PlaceHolder" runat="server"></asp:PlaceHolder>
        </LayoutTemplate>
        <ItemTemplate>
            <asp:Image ID="Image1" ImageUrl="~/Photos/" runat="server" />
        </ItemTemplate>
       </asp:ListView>
        <br />
        <br />
       
        <asp:DataPager ID="DataPager1" runat="server">
            <Fields>
                <asp:NextPreviousPagerField ButtonType="Button" />
            </Fields>
        </asp:DataPager>
        



Answers (1)