Treeview Data is not refreshing

4 posts, 1 answers
  1. sreeraj
    sreeraj avatar
    4 posts
    Member since:
    May 2009

    Posted 12 Apr 2010 Link to this post

    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

  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 13 Apr 2010 Link to this post

    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.
  3. Answer
    sreeraj
    sreeraj avatar
    4 posts
    Member since:
    May 2009

    Posted 13 Apr 2010 Link to this post

    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 
  4. Happy
    Happy avatar
    1 posts
    Member since:
    Mar 2016

    Posted 08 Mar 2016 Link to this post

    I was fighting with this same issue for a few hours. XMLDatasource.EnableCaching=False solved it.

Back to Top