nested datagrids

Discussion in 'ASP .Net' started by ProgramAnalyst, Nov 4, 2004.

  1. Hi all,

    Is it possible to have a nested editable datagrid in an editable
    datagrid? So far I've created an editable datagrid that contains a
    usercontrol of an editable datagrid and the user control works fine
    but when you go to edit the parent datagrid i get an error when
    DataBind() is called. I have a feeling it is because the usercontrol
    no longer exists (b/c of viewstate) so is there anyway to get around
    this?

    Thanks!

    *-----------------------*
    Posted at:
    www.GroupSrv.com
    *-----------------------*
     
    ProgramAnalyst, Nov 4, 2004
    #1
    1. Advertising

  2. Well i figured out a way by just inserting the usercontrol dynamically
    but i've got a new problem! Everything in the parent datagrid works
    fine but for the child (usercontrol) the update and cancel buttons
    dont work right. Through debugging i've figured out the problem but i
    dont know the soln. It seems like the update and cancel button arnt
    sending the right commandArgument. Update sends an "Edit" and Cancel
    doesnt send anything...

    can anyone help?

    *-----------------------*
    Posted at:
    www.GroupSrv.com
    *-----------------------*
     
    ProgramAnalyst, Nov 5, 2004
    #2
    1. Advertising

  3. somebody please help me....

    *-----------------------*
    Posted at:
    www.GroupSrv.com
    *-----------------------*
     
    ProgramAnalyst, Nov 5, 2004
    #3
  4. i figured it out no thanks to anyone here.

    *-----------------------*
    Posted at:
    www.GroupSrv.com
    *-----------------------*
     
    ProgramAnalyst, Nov 5, 2004
    #4
    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:
    435
    Juliano Bortolozzi
    Jul 14, 2003
  2. Dave

    Nested DataGrids

    Dave, Jul 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    636
    S. Justin Gengo
    Jul 15, 2003
  3. Dave

    Nested DataGrids

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

    Edit Nested Datagrids

    Dave T, Nov 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    409
    Dave T
    Nov 3, 2003
  5. David Lozzi

    SQL, XML, Nested Datagrids and the like

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

Share This Page