Approved
Last Updated: 28 Dec 2016 15:13 by rousso
ADMIN
Petar Mladenov
Created on: 19 Aug 2014 12:59
Category: TreeView
Type: Bug Report
2
TreeView: Null Reference Exception when Virtualization Mode is Recycling and RichTextBox with HtmlFormatProvider is in the ItemTemplate of the TreeView
TreeView Virtualization Mode is Recycling (the default one). In the ItemTemplate there is a RichTextBox with HtmlFormatProvider. Changing ItemsSource of the TreeView runtime produces null reference exception in TreeViewPanel.CleanupRange().
The Exception comes from the RecyclingItemContainerGenerator.Recycle method (http://msdn.microsoft.com/en-us/library/cc452208(v=vs.110).aspx). 
As a workaround if applicable, user can use the HierarchicalVirtualization mode:
    <telerik:RadTreeView  telerik:TreeViewPanel.TreeVirtualizationMode="Hierarchical"
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
Lucian
Posted on: 27 Nov 2014 15:14
Is this solved?
rousso
Posted on: 08 Mar 2016 15:17
Still no solution?