Click here to Skip to main content
16,009,318 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to display data horizontally. i am using repeater for it and want slider to move next record or paging. how to do? please help...
Posted

Refer to this link,it would be helpful to some extent.

Repeater in horizontal direction[^]

Regards.. :laugh:
 
Share this answer
 
v2
 
Share this answer
 
You can set proprty RepeatDirection="Horizontal" to Repeater....:)
C#
<asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
            <asp:DataList ID="dlData" runat="server" RepeatDirection="Horizontal"
            RepeatColumns="5">
            <ItemTemplate>
             <table>
                <tr>
                    <td><%#Container.DataItem %></td>
                </tr>
                <tr>
                    <td>--------------</td>
                </tr>
             </table>
            </ItemTemplate>
        </asp:DataList>
       </ItemTemplate>
</asp:Repeater>

Regards,
Nirav Prabtani.
 
Share this answer
 
v4
Comments
Thanks7872 3-Jul-13 0:48am    
Repeater doesnt have repeatdirection property.
Nirav Prabtani 3-Jul-13 0:59am    
Just see my answer i have mentioned there Datalist on repeater...:)
Nirav Prabtani 3-Jul-13 1:03am    
see my updated answer...:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900