Hello,
I want to dynamically change the type of cell in the current row from TextBox to RadDropDownList. I need the DropDownList to already be populated so I created one in the designer view and just made it not visible. How do I populate it though? I can't seem to access it in code.
Thanks!
Jason
You don't need to change the cell type in this scenario, you just need to change the editor assigned to that cell.
To do this, you have to handle 2 events, the CellEditorRequired event, where you will say that for this column you want an editor of this type, and after that you have to handle the CellEditorInitialized event where again, if it's that column, set the data source for the editor + any other things you need.