I want to change the CellTemplate and CellEditTemplate of GridViewDataColumn, based on the value of another column.
eg. If Column A has drop down box, with two entries: TextBlock and ComboBox. Based on the selection of column A, I want the column B to have that control.
If you can provide me some sample code that accomplishes this it would be very useful.
eg. If Column A has drop down box, with two entries: TextBlock and ComboBox. Based on the selection of column A, I want the column B to have that control.
If you can provide me some sample code that accomplishes this it would be very useful.