Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Svetlin
Created on: 19 Jun 2012 02:51
Category: TreeView
Type: Bug Report
0
FIX. RadTreeView throws NullReferenceException when scrolling is performed if it is loaded from xml document.
The RadTreeView throws NullReferenceException when scrolling is performed if it is loaded from xml document.
Loading the following xml document causes the issue:
<TreeView xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ShowLines="true">
<Nodes Expanded="true" Text="Test1" ImageIndex="0">
<Nodes Expanded="true" Text="Test2" ImageIndex="0">
<Nodes Expanded="true" Text="Test3" ImageIndex="2">
<Nodes Expanded="true" Text="Test4" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test5" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test6" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test7" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test18" ImageIndex="1">
<Nodes Text="Test9" ImageIndex="3" />
<Nodes Text="Test10" ImageIndex="3" />
</Nodes>
<Nodes Expanded="true" Text="Test11" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test12" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test13" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test14" ImageIndex="1">
<Nodes Text="Test15" ImageIndex="3" />
<Nodes Text="Test16" ImageIndex="3" />
<Nodes Expanded="true" Text="Test17" ImageIndex="4">
<Nodes Expanded="true" Text="Test18" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test19" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test20" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test20" ImageIndex="2">
<Nodes Expanded="true" Text="Test21" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test22" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test23" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test24" ImageIndex="1">
<Nodes Text="Test25" ImageIndex="3" />
<Nodes Text="Test26" ImageIndex="3" />
<Nodes Text="Test27" ImageIndex="3" />
<Nodes Text="Test28" ImageIndex="3" />
</Nodes>
<Nodes Expanded="true" Text="Test29" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test30" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test31" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test32" ImageIndex="0">
</Nodes>
<Nodes Expanded="true" Text="Test33" ImageIndex="0">
<Nodes Expanded="true" Text="Test34" ImageIndex="0">
<Nodes Expanded="true" Text="Test35" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test36" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test37" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test38" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test39" ImageIndex="1">
<Nodes Text="Test40" ImageIndex="3" />
<Nodes Text="Test41" ImageIndex="3" />
</Nodes>
<Nodes Expanded="true" Text="Test42" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test43" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test44" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test45" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test46" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test47" ImageIndex="0">
<Nodes Expanded="true" Text="Test48" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test49" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test50" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test51" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test52" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test53" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test54" ImageIndex="0">
<Nodes Expanded="true" Text="Test55" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test56" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test57" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test58" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test59" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test60" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
</Nodes>
</Nodes>
</TreeView>
0 comments