4 Answers, 1 is accepted
0
Hello Jerry,
I would like to clarify that the RadTreeView does have a default animation that is shown next to the node's expand icon while the request is handled. Please find attached a sample project that implements server side call back scenario. For testing purposes I added System.Threading.Thread.Sleep(3000) that will cause a delay for 3 seconds so you can watch the animation and simulate loading lots of sub nodes .
Regards,
Boyan Dimitrov
Telerik
I would like to clarify that the RadTreeView does have a default animation that is shown next to the node's expand icon while the request is handled. Please find attached a sample project that implements server side call back scenario. For testing purposes I added System.Threading.Thread.Sleep(3000) that will cause a delay for 3 seconds so you can watch the animation and simulate loading lots of sub nodes .
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Jerry
Top achievements
Rank 1
answered on 03 Apr 2014, 12:59 PM
Hi Boyan,
Thank you that example helped. Within my tree view there is a node that will be populated using html. It creates a list box with many items. This node still has the "+" next to it even though it is the last node, how can I stop it from showing the "+"?
Thank you
Thank you that example helped. Within my tree view there is a node that will be populated using html. It creates a list box with many items. This node still has the "+" next to it even though it is the last node, how can I stop it from showing the "+"?
Thank you
0
Hello,
As far as I understand you are using the RadTreeView1_NodeExpand event handler in order to load the nodes on demand. In the attached sample project all nodes that are loaded on demand have ExpandMode property set to TreeNodeExpandMode.ServerSideCallBack. This means that all of them will have plus sign and will load nodes on demand if you click this sign. An easy and convenient way of avoiding this behavior is simply not to set ExpandMode for your last node.
Regards,
Boyan Dimitrov
Telerik
As far as I understand you are using the RadTreeView1_NodeExpand event handler in order to load the nodes on demand. In the attached sample project all nodes that are loaded on demand have ExpandMode property set to TreeNodeExpandMode.ServerSideCallBack. This means that all of them will have plus sign and will load nodes on demand if you click this sign. An easy and convenient way of avoiding this behavior is simply not to set ExpandMode for your last node.
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Jerry
Top achievements
Rank 1
answered on 15 Apr 2014, 08:01 PM
Hi Boyan,
Thank you so much that worked.
Jerry
Thank you so much that worked.
Jerry