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

TreeView Nodes Not Showing

4 Answers 125 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Chris Salas
Top achievements
Rank 1
Chris Salas asked on 17 May 2012, 08:47 PM
The issue I am having here is, if the ParentID of the data item of a node is not present in the data source then the node does not display.  Is there a way around this?  Is there a way to show all nodes regardless if the parent is present or not?  I am also using Web Service LoadOnDemand.

4 Answers, 1 is accepted

Sort by
0
Chris Salas
Top achievements
Rank 1
answered on 21 May 2012, 09:26 PM
Anyone have any ideas?
0
Plamen
Telerik team
answered on 22 May 2012, 07:50 AM
Hi Chris,

 
RadTreeView implements WebService Load on Demand functionality that needs the ParentID field in the DataSource in order to work properly. A functionality without it is not supported by our control at the moment.

Hope this will explain the issue.

All the best,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Chris Salas
Top achievements
Rank 1
answered on 22 May 2012, 03:07 PM
I understand that it required the ParentID and my data source has a ParentID fields.  My question is i have a very large tree over 20,000 nodes, and the way i have implemented this is that a person can select specific nodes to display on their profile page.  If the user selects Node3 below then it doesen't show.  Is there a way to make sure that all items show within their respective tree structure?

Node1
     Node2
          Node3
          Node4
0
Plamen
Telerik team
answered on 25 May 2012, 09:06 AM
Hello Chris,

 
It seems like this issue is caused by some custom implementation so we will need some code in order to provide you with appropriate solution. If the issue can be observed in some of our demos please let us know so we can inspect ti locally. 

Meanwhile you can refer to the on-line Custom Attributes demo which may also be helpful.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeView
Asked by
Chris Salas
Top achievements
Rank 1
Answers by
Chris Salas
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or