Last Updated: 20 Feb 2015 06:48 by Sz
Created on: 15 Feb 2015 13:57
Category: GridView
Type: Bug Report
RadGridView - GridViewComboboxColumn NullReferenceException on CellValueChanged

I succeed to reproduce the GridViewComboboxColumn exception in this forum post:

I attach a sample project, the database (SQL Server 2012 Express) and a video from the exception.

To reproduce:
- Run the project,
- Sort the column "Állapot" descending.
- Click on column and drop down the list.
- Choose an another value, and click very fast twice. On a slow PC is much easier to reproduce the issue. The important thing, that you need select a value from the combobox and select another row very fast. (See the attached video)

I use the latest Trial version of Winforms.

If you have any question, please contact me.

Best Regards,


Private Sub gridMunkak_CreateCell(sender As Object, e As GridViewCreateCellEventArgs) Handles gridMunkak.CreateCell
    If e.CellType = GetType(GridComboBoxCellElement) Then
        e.CellElement = New MyGridComboBoxCellElement(e.Column, e.Row)
    End If
End Sub

Public Class MyGridComboBoxCellElement
    Inherits GridComboBoxCellElement
    Public Sub New(column As GridViewColumn, row As GridRowElement)
        MyBase.New(column, row)
    End Sub

    Public Overrides Sub SetContent()
        If Me.ColumnInfo IsNot Nothing Then
        End If
    End Sub
    Protected Overrides ReadOnly Property ThemeEffectiveType() As Type
            Return GetType(GridComboBoxCellElement)
        End Get
    End Property
End Class