Parent in nested repeaters

Discussion in 'ASP .Net Web Controls' started by Kim Søvsø Pedersen, Jun 14, 2005.

  1. 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
    Kim Søvsø Pedersen, Jun 14, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul

    Nested datagrid/list/repeaters

    Paul, Mar 3, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    400
  2. =?Utf-8?B?TWFjaGk=?=

    nested Repeaters with javascript checkboxes

    =?Utf-8?B?TWFjaGk=?=, Apr 16, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    530
    =?Utf-8?B?TWFjaGk=?=
    Apr 16, 2004
  3. =?Utf-8?B?TWFjaGk=?=

    Nested Repeaters

    =?Utf-8?B?TWFjaGk=?=, Apr 18, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    425
  4. =?Utf-8?B?a2V0dGNo?=

    nested repeaters

    =?Utf-8?B?a2V0dGNo?=, Apr 26, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    372
    =?Utf-8?B?a2V0dGNo?=
    Apr 26, 2004
  5. Duncan Welch

    Strongly typed datasets and nested repeaters

    Duncan Welch, Apr 7, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,023
    MattC
    Apr 7, 2005
Loading...

Share This Page