Completed
Last Updated: 19 Dec 2016 12:06 by ADMIN
ADMIN
Dimitar
Created on: 09 Dec 2016 12:19
Category: GridView
Type: Bug Report
1
FIX. RadGridView - exception when one is changing the data source of a combo-box column and the grid is not bound.
To reproduce:
- Add several columns including combo-box columns to a grid. 
- Add one row and upon a button click, change the data source of the combo column.

Workaround: 

Seth the following field to null prior changing the data source: 

    GetType(GridViewComboBoxColumn).GetField("nullBoundItem", Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic).SetValue(combo, Nothing)
    combo.DataSource = dt




0 comments