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

radtreeview datasource refresh

2 Answers 117 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
KRZYSZTOF
Top achievements
Rank 1
KRZYSZTOF asked on 08 Oct 2010, 09:46 PM

hi,

i've recently encounter problem while working with radtreeview:

i've radtreeview with datasource (datatable) from database however when i click button i want to change that datasource 

(rebuild radtreeview) and load radtreeview with new nodes and roots; data from database are proper but assigning it to radtreeview 

doesn't work - old "state" radtreeview remains.

is there any way to do this ?

best regards

ksysiek

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 13 Oct 2010, 04:14 PM
Hi ksysiek,

I've tried to reproduce the described issue, but to no avail. Note that you should call DataBind() method after setting the new data source. If this doesn't help, please send us some sample code which demonstrates the
problem.

Best wishes,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
KRZYSZTOF
Top achievements
Rank 1
answered on 13 Oct 2010, 08:41 PM

hi Yana,

thanks for Your replay. I have already figured it out - i missed DataBind() method call

best regards

ksysiek

Tags
TreeView
Asked by
KRZYSZTOF
Top achievements
Rank 1
Answers by
Yana
Telerik team
KRZYSZTOF
Top achievements
Rank 1
Share this question
or