Hello,
I want to change a column from text box to combo box and I am trying to do it in the AutoGeneratingColumn event
with the following code:
if (e.Column.MappingName.Equals("NameOfColumn")){
(e.Column as GridComboBoxColumn).DataSource = list,
}
I get the following error: Object reference not set in An instance of an object.
Thank you