Edit Command in hierarchical datagrid ..

Discussion in 'ASP .Net Datagrid Control' started by Dan C Douglas, Aug 14, 2003.

  1. I have created a hierarchical datagrid that consists of 1 datagrid nested insde of another datagrid. More technically it is actually 1 User control that contains a datagrid. I add this user control to each iteration of the Item_DataBound event, and therefore the same user control gets added to itself. It works perfectly for displaying the data.

    The problem is when I click the edit button in a second level item in the datgrid (sub user control / sub datagrid). When I click it the EditCommand is not fired and on the post back only the first level datagrid items are created. Not any of the hierarchy / sub details.

    I have tried a few things like adding event handlers to the EditCommand to point to the previous instance's EditCommand subroutine with no luck.

    Has anyone encountered this or have been able to accomplish such a feet?

    Thanks,

    Dan
     
    Dan C Douglas, Aug 14, 2003
    #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. San Diego Guy
    Replies:
    0
    Views:
    586
    San Diego Guy
    Aug 7, 2003
  2. Dan C Douglas

    Edit Command in hierarchical datagrid ..

    Dan C Douglas, Aug 14, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    531
    Dan C Douglas
    Aug 14, 2003
  3. Schultz
    Replies:
    3
    Views:
    600
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  4. Dan C Douglas

    Edit Command in hierarchical datagrid ..

    Dan C Douglas, Aug 14, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    159
    Dan C Douglas
    Aug 14, 2003
  5. prakash
    Replies:
    2
    Views:
    631
    prakash
    Apr 11, 2005
Loading...

Share This Page