Nested DataGrids

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

If you drop a datagrid into an itemtemplate column of a
datagrid using VS.net, it doesn't get declared in the
designer code with

Protected WithEvents NestedGrid As
System.Web.UI.WebControls.DataGrid

I presume that is why you can't pick up the ItemCommand
event of the NestedGrid if it has an ImageButton in it.
That being the case, does anyone know what you must do to
pick up the event?

I added the declaration but it didn't help. Seems like
you must pick up the datagrid somehow by accessing it
through the cells of the datagrid that contains it.

Thanks
 
Back
Top