D
Dave
Hello all,
I am trying to delete a row from my Datagrid (dg2) which
is nested in a parent Datagrid (dg1). The row i need to
delete from dg2 is based on a value in a label in dg1.
(With me so far?)
when I call the onDeleteCommand from dg2 I need to be able
to reference the label in the parent datagrid dg1 but I
cannot find a way of doing this using the
DataGridCommandEventArgs (which relate to dg2), does
anyone have any ideas of how I can do this? I know you can
use Parent.Parent etc to find the parent control but how
do you then find the label within that control?
Thanks
Dave.
I am trying to delete a row from my Datagrid (dg2) which
is nested in a parent Datagrid (dg1). The row i need to
delete from dg2 is based on a value in a label in dg1.
(With me so far?)
when I call the onDeleteCommand from dg2 I need to be able
to reference the label in the parent datagrid dg1 but I
cannot find a way of doing this using the
DataGridCommandEventArgs (which relate to dg2), does
anyone have any ideas of how I can do this? I know you can
use Parent.Parent etc to find the parent control but how
do you then find the label within that control?
Thanks
Dave.