Parent in nested repeaters

  • Thread starter Kim Søvsø Pedersen
  • Start date
K

Kim Søvsø Pedersen

Hi

I have two child/parent related nested repeaters that are filled with data
from a dataset with two joined tables. I would like to use data from the
outermost repater in the innermost, e.g. a ID-column from the parent table.
How do I do that?

I've tried several different things like putting a Label in the parent
repeater and accessing it with <%# Container.Parent.DataItem.Label1.Text %>
in the child, but that just gives me a "'DataItem' is not member of
'System.Web.UI.Control'".

What do I do (wrong)?

Thanks
Kim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top