Datagrid FindControl in Footer

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

Dave

Hi all,

Does anyone know how to find a control in a DataGrid
Footer by using DataGrid.FindControl etc?
 
In the DataGrid_ItemCreated event that takes an argument
of type DataGridItemArgs e, you can use
e.Item.Cells[n].Controls[n] to refer to the control.
You can also use the FindControl method on one of these
collections but I tend to use the former technique.

alex
 
Thank you, that has sorted my problem
-----Original Message-----
In the DataGrid_ItemCreated event that takes an argument
of type DataGridItemArgs e, you can use
e.Item.Cells[n].Controls[n] to refer to the control.
You can also use the FindControl method on one of these
collections but I tend to use the former technique.

alex
-----Original Message-----
Hi all,

Does anyone know how to find a control in a DataGrid
Footer by using DataGrid.FindControl etc?



.
.
 
Back
Top