Hi there,
Well, I'm having trouble in how to hide fields in EditMode when use DetailsView.
I tried without success with the following code...
The error is: Cannot find a cell bound to column name 'id_postosQT'.
Someone could give me a hand on this ?
Regards,
Marcio Nascimento
Well, I'm having trouble in how to hide fields in EditMode when use DetailsView.
I tried without success with the following code...
| string nome = e.Item.OwnerTableView.Name; |
| if (nome == "valores") |
| { |
| if ((e.Item is GridEditFormItem) && (e.Item.IsInEditMode)) |
| { |
| GridEditFormItem myColumn = (GridEditFormItem)e.Item; |
| { |
| myColumn["id_postosQT"].Parent.Visible = false; |
| } |
| } |
| } |
The error is: Cannot find a cell bound to column name 'id_postosQT'.
Someone could give me a hand on this ?
Regards,
Marcio Nascimento