Link to home
Start Free TrialLog in
Avatar of Peter Chan
Peter ChanFlag for Hong Kong

asked on

To have several items on one repeater line

Hi,
within one repeater control

    <div id="repcontainer">
        <asp:Repeater ID="Repeater" runat="server">
	        <HeaderTemplate>
	        </HeaderTemplate>
            <ItemTemplate>
		        <asp:LinkButton ID="Link1" runat="server" Text='<%# Eval("row1") %>' BackColor="#57789E" Width="380px" 
                    ForeColor="White" Font-Bold="true" Font-Names="Arial" style="line-height:33px" 
                    ToolTip="Double-click the line to locate to the record" OnClick="bt_Click" />
            </ItemTemplate>
	        <SeparatorTemplate>
	        </SeparatorTemplate>
	        <FooterTemplate>
		        <div class="headerFooter"></div>
	        </FooterTemplate>
        </asp:Repeater>
    </div>

Open in new window



is there any way to show several items like the following

https://dl.dropboxusercontent.com/u/40211031/t871.png

to each repeater line?
ASKER CERTIFIED SOLUTION
Avatar of LordWabbit
LordWabbit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LordWabbit
LordWabbit

Oh wait, I think I get it, with the repeater you are getting
Item1
Item2
Item3
Item4
Item5
Item6

and you want
Item1 Item2 Item3
Item4 Item5 Item6

Sorry, but the attached image meant absolutely nothing to me.
Avatar of Peter Chan

ASKER

Yes,

Item1 Item2 Item3
Item4 Item5 Item6

is what I want. I want to all items to be retrieved from one Table. How?
Can you show with one example for this? thanks
Any advice to this? thanks