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

[Solved] Load on Demand with Object Datasource

1 Answer 108 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 26 Jun 2008, 11:32 AM
Hi,

IĀ“musing a HierarchicalDataSourceView Object as DataSource for my TreeView. Everythink works fine.
But now I would like to do  "Load on Demand" on my Tree. On the Webdemo the data will be created on the NodeExpand Event. But if I use a Object as DataSource everything will be filled automaticly.
So is it possible to do Loading on Demand with a Object DataSource.

Thanx
Stephan

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 02:32 PM
Hi Stephan,

RadTreeView can use only one datasource at a time. It won't be possible to use the objectdatasource in the NodeExpand event. Perhaps you can use the business objects to get the required data and create the tree nodes.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Stephan
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or