Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Edit Command in hierarchical datagrid ..

Reply
Thread Tools

Edit Command in hierarchical datagrid ..

 
 
Dan C Douglas
Guest
Posts: n/a
 
      08-14-2003
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Snapshot restraint - edit, edit, edit Alan Browne Digital Photography 24 05-10-2005 10:15 PM
Edit All Function for DataGrid, and Moving the Edit Function in a DataGrid Schultz ASP .Net 3 02-14-2005 04:47 AM
Edit Command in hierarchical datagrid .. Dan C Douglas ASP .Net Web Controls 0 08-14-2003 03:52 PM
Edit Command in hierarchical datagrid .. Dan C Douglas ASP .Net 0 08-14-2003 03:52 PM
copying value of DDL in a Datagrid "pre-edit command" to value in "post edit command" San Diego Guy ASP .Net 0 08-07-2003 08:59 PM



Advertisments