For the solution, I cannot use any postback methods, because this is all working through ajax. The solution need to be implemented in the asp.net code.

I have a `List<WebPage>` that contains a list of Links `(List<Link>)` and I need for all the links to bind repetitive information such as page title, id, url. Here is my current repeater.

<div id="result">
        <asp:Repeater runat="server" id="results">
                <asp:Repeater runat="server" datasource='<%# Eval("Links") %>'>
                        <tr class="gradeX odd">
                            <td><%# Eval("Id") %></td> //property of WebPage (part of results repeater)
                            <td><%# Eval("Title") %></td> //property of WebPage (part of results repeater)
                            <td><%# Eval("Url") %></td> //property of WebPage (part of results repeater)
                            <td><%# Eval("URL") %></td>//Property of Link
                            <td><%# Eval("URLType") %></td> //Property of Link
                            <td><%# Eval("URLState") %></td> //Property of Link

Of course this doesnt work, how can i do this?

Thanks for your help!

7 Years
Discussion Span
Last Post by kad1r

First in page_load event you must fill first repeater.
After that in first repeater itemdatabound fill second repeater.
In itemdatabound you need to define second repeater like:

Repeater secondone = e.item.findcontrol("secondone") as Repeater;
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.