Hi,
We've been using a RadTreeView to display a RadGridView as one of its items, recently we updated to the latest Telerik Silverlight controls and there is a major delay in showing the RadGridView (previously it was pretty instant).
<
telerik:RadTreeView
Name
=
"AlertTree"
HorizontalAlignment
=
"Left"
Margin
=
"0,0,0,0"
VerticalAlignment
=
"Top"
IsVirtualizing
=
"True"
telerik:TreeViewPanel.IsVirtualizing
=
"True"
telerik:TreeViewPanel.VirtualizationMode
=
"Standard"
>
The RadGridView only has 100 rows - it loads at normal speeds into the tree when collapsed (i.e. not visible). The problem occurs when the tree is expanded to display the RadGridView. The UI appears to freeze and to display the 100 rows with 6 columns takes a minimum of 10 seconds (previously 1 or 2). The memory also jumps considerably when RadGridView finally becomes visible.
// Create the grid view
RadGridView aGridView= new RadGridView();
aGridView.ItemsSource = new Telerik.Data.DataTable(e.Result);
// Attach the grid view to the Tree
RadTreeViewItem aItem = new RadTreeViewItem();
aItem .Header = " Header Info";
aItem .Items.Add(aGridView);
As mentioned before, this was working fine previously.
Thanks
Oliver