I have a RadGridView set up using EnableRowVirtualization=true. I override the column's CreateCellElement call and put a data-bound RadRichTextBox in one of the columns. My problem is that when I clear the ObservableCollection that is bound to the grid, I get an unhandled exception coming out of the GridViewItemContainerGenerator as a result of the RadRichTextBox calling InitActiveEditorPresenter, which sets the owner on the DocumentPresenterBase, which calls OnOwnerChanged, which calls DoOnDocumentChanged, and which calls UpdateEditorLayout().
I cannot figure out how to NOT have this exception occur when I clear my ObservableCollection. I tried clearing the content from the RadRichTextBox in response to the RowUnloaded event, but I end up getting the same error...
Can anyone share any thoughts on this, or is it too specific?
I cannot figure out how to NOT have this exception occur when I clear my ObservableCollection. I tried clearing the content from the RadRichTextBox in response to the RowUnloaded event, but I end up getting the same error...
Can anyone share any thoughts on this, or is it too specific?