I have a grid and one column of the grid holds two controls, ComboBox and a TextBox. The grid is in batch edit mode.
My goal, using server side ideally but not limited to, to hide one of the controls, according to some logic.
I've tried server side solution by hooking up an OnItemDataBound event handler, using the FindControl method of the GridDataItem control,but it resulted in null (any idea to why it may resulted in null?).
And I've tried to hookup to some client side events of the grid with no success.
What's the best approach to my problem?