This is a migrated thread and some comments may be shown as answers.

[Solved] Visibility of TreeView Item

1 Answer 140 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nirmal
Top achievements
Rank 1
Nirmal asked on 08 Jan 2010, 05:44 AM
Hai,
    I am using RadTreeView, in that i have Two parent item and child item For each parent.

>Parent1
    Child1
    Child2
    Child3
>Parent2
    Child1
    Child2

like this,

    at runtime i want to set Visibility=visibility.collapsed of childitem(Child2,Child3).But it shows like Empty space on child item presented place
>Parent1
    Child1
    
    
>Parent2
    Child1
    Child2

how can i Remove that empty space(Visibility.collapsed)


Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 08 Jan 2010, 02:04 PM
Hi Nirmal,

You should remove the item from the items source, not to collapse it when using the TreeView in virtualized mode. If you don't have many items - use the treeview in its normal mode and the collapsing of the items will work as expected.

Kind regards,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Nirmal
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or