radtreeview datasource refresh

3 posts, 0 answers
  1. KRZYSZTOF
    KRZYSZTOF avatar
    11 posts
    Member since:
    Jul 2010

    Posted 08 Oct 2010 Link to this post

    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. Yana
    Admin
    Yana avatar
    4850 posts

    Posted 13 Oct 2010 Link to this post

    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
  3. KRZYSZTOF
    KRZYSZTOF avatar
    11 posts
    Member since:
    Jul 2010

    Posted 13 Oct 2010 Link to this post

    hi Yana,

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

    best regards

    ksysiek

Back to Top