S
SoftLion
Is it possible to get a control by ID like that :
void DataGrid1_ValidateEdit(object sender, DataGridCommandEventArgs e)
{
object obj = e.Item.Cells[2].Controls["myControlID"];
instead of:
object obj = e.Item.Cells[2].Controls[0];
}
Or is there a way to do this easily ?
void DataGrid1_ValidateEdit(object sender, DataGridCommandEventArgs e)
{
object obj = e.Item.Cells[2].Controls["myControlID"];
instead of:
object obj = e.Item.Cells[2].Controls[0];
}
Or is there a way to do this easily ?