Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Svetlin
Created on: 06 Sep 2012 04:03
Category: TreeView
Type: Bug Report
0
FIX. Vertical scroll bar is not shown if the expanded node's child nodes have been collapsed in NodeExpandChanged event previously.
Vertical scroll bar is not shown if the expanded node's child nodes have been collapsed in NodeExpandChanged event previously. The code snippet bellow causes the issue:


void radTreeView1_NodeExpandedChanged(object sender, RadTreeViewEventArgs e)
{
    bool isExpanded = e.Node.Expanded;

    if (!isExpanded)
    {
        foreach (RadTreeNode node in e.Node.Nodes)
        {
            node.Expanded = false;
        }
    }
}
0 comments