Nested DataGrids

Discussion in 'ASP .Net' started by Dave, Jul 15, 2003.

  1. Dave

    Dave Guest

    I have a datagrid with another datagrid in a template
    column. For the second datagrids datasource I use
    container.dataitem.createchildview("relationship") I want
    to discover if the nested datagrid has any rows. I think
    I need to check the datagrid.items.count on the second
    datagrid in the first datagrids ItemCreated event but I
    can't seem to figure out how to address the second
    datagrid. Does anyone have any ideas?
    Dave, Jul 15, 2003
    #1
    1. Advertising

  2. Use the "FindControl" method to get the second datagrid object.

    Justin

    "Dave" <> wrote in message
    news:023101c34aef$0c7f3bd0$...
    > I have a datagrid with another datagrid in a template
    > column. For the second datagrids datasource I use
    > container.dataitem.createchildview("relationship") I want
    > to discover if the nested datagrid has any rows. I think
    > I need to check the datagrid.items.count on the second
    > datagrid in the first datagrids ItemCreated event but I
    > can't seem to figure out how to address the second
    > datagrid. Does anyone have any ideas?
    S. Justin Gengo, Jul 15, 2003
    #2
    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. Juliano Bortolozzi

    Re: Nested Datagrids

    Juliano Bortolozzi, Jul 14, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    424
    Juliano Bortolozzi
    Jul 14, 2003
  2. Dave

    Nested DataGrids

    Dave, Jul 21, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    393
    Ray Dixon [MVP]
    Jul 21, 2003
  3. Dave T

    Edit Nested Datagrids

    Dave T, Nov 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    399
    Dave T
    Nov 3, 2003
  4. ProgramAnalyst

    nested datagrids

    ProgramAnalyst, Nov 4, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    435
    ProgramAnalyst
    Nov 5, 2004
  5. David Lozzi

    SQL, XML, Nested Datagrids and the like

    David Lozzi, Oct 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    375
    Frankie
    Oct 7, 2005
Loading...

Share This Page