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
 
Are you sure you can do that? I've never heard of nested datagrids.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top