This is a migrated thread and some comments may be shown as answers.

Can't get the PageSize to create columns

2 Answers 53 Views
ListView
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 17 Dec 2014, 04:17 AM
I set the AllowPaging="true" and PageSize="2" but the list view only creates on long column when I was hoping it would create 2 columns.
Here is the code I have.

<telerik:RadListView ID="equipmentListView" runat="server" AllowPaging="true" PageSize="2">
    <LayoutTemplate>
        <div>
            <table>
                <tbody>
                    <tr id="itemPlaceholder" runat="server">
                    </tr>
                </tbody>
            </table>
        </div>
    </LayoutTemplate>
    <ItemTemplate>
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" Text="Stuff1" />
                <asp:Label ID="Label5" runat="server" Text="Stuff1" />
                <asp:Label ID="Label8" runat="server" Text="Stuff2" />
                <asp:Label ID="Label9" runat="server" Text="Stuff2" />
            </td>
        </tr>
    </ItemTemplate>
</telerik:RadListView>

2 Answers, 1 is accepted

Sort by
0
James
Top achievements
Rank 1
answered on 17 Dec 2014, 01:10 PM
Sorry, I didn't mean "PageSize" I meant "GroupItemCount"
0
James
Top achievements
Rank 1
answered on 17 Dec 2014, 06:12 PM
Nevermind. I finally got this to work the the GroupItemCount
Tags
ListView
Asked by
James
Top achievements
Rank 1
Answers by
James
Top achievements
Rank 1
Share this question
or