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

How to load treeview item in load on demand mode

3 Answers 59 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Randy Hompesch
Top achievements
Rank 1
Randy Hompesch asked on 09 Feb 2017, 09:17 PM

Hi,

I have a tree that is bound and load on demand.

For simplicity say I had:

 

3 Answers, 1 is accepted

Sort by
0
Randy Hompesch
Top achievements
Rank 1
answered on 09 Feb 2017, 09:23 PM

Hi,

I have a tree that is bound and load on demand.

For simplicity say I had:

     A
           B
                 C 

                  another 100 items under C
           D
                 E

WHen I initially load the tree, only A is showing.

if I expand A, B and D will load and show etc.

Suppose I am on A and nothing else is loaded and I want to navigate via code to E so that just A, D and E are expanded. I don't want B or C expanded. How can I do this? I am trying to get this done in an attached behavior. Is one event better to do this in than another?

Thanks ... Ed

 

0
Martin Ivanov
Telerik team
answered on 13 Feb 2017, 08:47 AM
Hello Ed,

I noticed that you already posted your question in another forum thread. I would ask you to keep the communication on a specific topic in a single thread. This way we can follow it easier and organize the forum better.

You can find an answer of your question in the forum and your support ticket.

Regards,
Martin
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Randy Hompesch
Top achievements
Rank 1
answered on 13 Feb 2017, 10:37 AM

Will do. Sorry.

 

Tags
TreeView
Asked by
Randy Hompesch
Top achievements
Rank 1
Answers by
Randy Hompesch
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or