load on demand on tree list view

4 posts, 0 answers
  1. Syed Hussain
    Syed Hussain avatar
    1 posts
    Member since:
    Feb 2010

    Posted 22 Aug 2010 Link to this post

    I was using the radtreeview with quite a lot of nodes and found that performance was slow. I read telerik documentation and it said I can use treelistview as an alternative to treeview. Now when I try to implement loadondemand on this treelist view, during the isexpand property even though the children are added to collection the grid is not refreshed. Since this collection is stored as static variable, when I close the form and open it it displays the parent and children. My isexpanded is implemented in viewmodel where it hits the db and gets the collection. Is there something I am missing in order to implement loadondemand or is this feature not available. I am using WPF Q2 SP1 controls







    <Style x:Key="TreeListViewStyle" TargetType="{x:Type telerik2:TreeListViewRow }">  




    <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" /> 























    <telerik:RadTreeListView x:Name="rdTreeList" AutoGenerateColumns="False"




    Width="Auto" RowStyle="{StaticResource TreeListViewStyle}"




    ItemsSource="{Binding UnitValueObjectList,Mode=TwoWay}"




















    <telerik:TreeListViewTableDefinition ItemsSource="{Binding Path=ChildNodes,Mode=TwoWay}" >
















    <telerik:TreeListViewTableDefinition ItemsSource="{Binding Path=ChildNodes,Mode=TwoWay}"/>








    <telerik:TreeListViewTableDefinition ItemsSource="{Binding Path=ChildNodes,Mode=TwoWay}"/>
























    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name,Mode=TwoWay}" Header="Name" />























  2. Yavor Georgiev
    Yavor Georgiev avatar
    982 posts

    Posted 24 Aug 2010 Link to this post

    Hello Syed Hussain,

     Please check the answer to the private support ticket you opened.

    Kind regards,
    Yavor Georgiev
    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. Ivano
    Ivano avatar
    39 posts
    Member since:
    Feb 2009

    Posted 05 Jan 2011 Link to this post


    I need the load on demand feature too. Any solution?

  4. Vlad
    Vlad avatar
    11100 posts

    Posted 05 Jan 2011 Link to this post


     Please check the local copy of this demo for more info. Here is also the Silverlight version.

    Best wishes,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
Back to Top