Groups | Blog | Home
all groups > asp.net webcontrols > july 2003 >

asp.net webcontrols : nested Datagrid


MS.Joo
7/29/2003 11:29:58 PM

I must handle below data layout.

column1 column2 column3 column4
--------------------------------------------
a1 'Nested DataGrid' c1 d2
--------------------------------------------
a2 'Nested DataGrid' c2 d2
--------------------------------------------
....

so I use dataGrid to represent consist of four template
columns. One template column( column2 in above UI Layout)
is nested DataGrid.
Nested DataGrid has three columns and one button to edit.
all Nested DataGrid in each row of outer DataGrid is same.

if edit button of nested datagrid is clicked, first column
of Outer DataGrid is edited( a1 or a2 in above UI Layout)
according to the vlaue of nested DataGrid's first column


how can i do this?

please help me~
have a nice day.^^
Chad
8/1/2003 10:12:46 AM
Not sure if I know what you mean, but if you want to edit
outter datagrid when nested datagrid's OnEditCommand is
called you can type "OuterDataGrid_EditCommand(source, e)"


[quoted text, click to view]
Minseok Joo
8/3/2003 6:15:30 PM




*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button