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

Treeview Data is not refreshing

3 Answers 77 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
sreeraj
Top achievements
Rank 2
sreeraj asked on 12 Apr 2010, 04:08 PM

Hi Friends,
I have a requiremt to populate two Treeviews , such that the second Treeview is populated based on clicking on the first . Am using XMLDatasource to populate both . For the first time, the second Treeview is perfectly loaded, but after that it is still showing the same data ,i.e; not refreshing .
How can i make the treeview to get the changes reflected correctly .

Thanks in advance

Regards

Sree

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 13 Apr 2010, 03:05 PM
Hi sreeraj,

I suppose you need to clear the nodes first - RadTreeView1.Nodes.Clear()
before adding the new ones.

Kind regards,
Veskoni
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
Accepted
sreeraj
Top achievements
Rank 2
answered on 13 Apr 2010, 03:33 PM
Hi Veskoni,
THanks for the reply .  The actual problem was with XMLDatasource  . I set the XMLDatasource.EnableCaching =False and it starts working properly.
Thanks a lot
Sreeraj 
0
Happy
Top achievements
Rank 1
answered on 08 Mar 2016, 04:33 PM
I was fighting with this same issue for a few hours. XMLDatasource.EnableCaching=False solved it.

Tags
TreeView
Asked by
sreeraj
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
sreeraj
Top achievements
Rank 2
Happy
Top achievements
Rank 1
Share this question
or