Multiple Data Grid problem

  • Thread starter Thread starter Eldon Ferran de Pol
  • Start date Start date
E

Eldon Ferran de Pol

I'm trying to set up a data grid within a data grid within
a data grid.

I'm using OnItemCommand to set the EditItemIndex in both
the top level grid and the second grid. The top level
grid expands without any problem and shows the second
grid. However, when I enter the method being called via
OnItemCommand in the code behind for the second grid and
reach the line where I am trying to set the EditItemIndex
for the second grid I find that the grid is set to nothing.

The code is identical for the two grids but doesn't work
for the second.

Any help much appreciated.

Eldon
 
Yep you definately can. I've got several pages where I'm
displaying a DataGrid within a Datagrid. It just getting
the third level that I've got the problem with. I know
you can do it because I've seen it working.

Eldon
 
Back
Top