Update Parent Row using child node details

2 posts, 0 answers
  1. Sharada
    Sharada avatar
    43 posts
    Member since:
    Mar 2009

    Posted 22 Dec 2010 Link to this post


    I am using TreeListView control and loading child rows on demand.

    I want to update the parent node again once child nodes will gets displayed.

    In RadTreeListView1_RowLoaded event I am binding details of Child nodes.

    Is there any other event after RadTreeListView1_RowLoaded where I can access the Parent nodes and update the cells ?

    Actually I want to implemets below functionality
    Director's Hours will get distributed in SubDirector A and SubDirector B
    Further Subdirector's Hours can be distributed in Managers
    Here only Manager's Hours can be editable.

    If hours of any Manager gets updated I want to update the Hours of their Parent Rows

    Director 100
      SubDirector A 40
      Manager A1 10
      Manager A2 30
      SubDirector B 60
      Manager B1  25
        Manager B2 35

    Is there any better approach I can achive this ?

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 28 Dec 2010 Link to this post


     It will be better if you do this directly in your data model - set desired values for related records when a specific property is changed. 

    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. DevCraft banner
Back to Top