How to use Child Repeater Control inside a Repeater Control in asp.net c#

i am using a repeater control in asp.net and i want to use one more repeater control inside the existing repeater control.

Example:

  <!-- start child repeater -->


  <!-- end child repeater -->

Answers


use the following

    <asp:Repeater ID="rp_resList" runat="server" >
        <ItemTemplate>
            <asp:HiddenField ID="hf_resID" runat="server" Value='<%#  Eval("Id") %>' />
            <asp:LinkButton ID="lnkResName" runat="server">Resource Name</asp:LinkButton>
            <br />
            <asp:Literal ID="litSummary" runat="server" Text='<%#  Eval("summary") %>'></asp:Literal>
            <br />
            <asp:Repeater ID="rp_tagsSkill" runat="server">
                <ItemTemplate>
                    <h6>
                        <%#  Eval("Description") %></h6>
                </ItemTemplate>
            </asp:Repeater>
            <div id="controls">
                <asp:ImageButton ID="imgBtnBookmark" runat="server" />
                <asp:Button ID="btnLike" runat="server" Text="Button" />
                <asp:Literal ID="litComments" runat="server" Text="Comment (7)"></asp:Literal>
                <asp:Button ID="btnShare" runat="server" Text="Button" />
            </div>
        </ItemTemplate>
    </asp:Repeat>

in the you define your other repeter and for more detail follow the following link nested Repeter


In your itemdatabound find your child repeater and bind it.


Need Your Help

How to get a Numeric Stepper and sliders to work together in Flash CS4 AS3

actionscript-3 flash slider flash-cs4 numericstepper

Hi I am working on a piece of coursework for school and I want to have a page where I have sliders that reflect a numeric stepper and vice versa however whenever I find a tutorial online it keeps g...