Unplanned
Last Updated: 28 Dec 2016 15:13 by rousso
ADMIN
Petar Mladenov
Created on: 19 Aug 2014 12:59
Category: TreeView
Type: Bug Report
3
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"
2 comments
rousso
Posted on: 08 Mar 2016 15:17
Still no solution?
Lucian
Posted on: 27 Nov 2014 15:14
Is this solved?