1
Answer

ListView Error - No IPageableItemContainer

Bineesh  VP

Bineesh VP

11y
1.5k
1
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)
Next Recommended Forum