TreeListView : Expanded/Collpased Event

3 posts, 1 answers
  1. neha
    neha avatar
    5 posts
    Member since:
    May 2010

    Posted 14 Jun 2011 Link to this post


    I need help regarding the TreeListView's Expand/Collpase event. I am unable to capture these events  when i click on the expander.

    The code is as follows:-

    WPF XAML File:-

      <telerik:RadTreeListView x:Name="radTreeListView" telerik:StyleManager.Theme="Windows7"
                                     AutoGenerateColumns="False" RowIndicatorVisibility="Collapsed" 
                                     TreeViewItem.Expanded="radTreeListView_Expanded" >
                    <telerik:TreeListViewTableDefinition ItemsSource="{Binding TopLevelObjects}"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding LHS}"

    The two function radTreeListView_Collapsed(..) & radTreeListView_Expanded(..) are not getting called.

  2. Answer
    Vlad avatar
    11100 posts

    Posted 14 Jun 2011 Link to this post


     There are no such events in RadTreeListView! To achieve your goal you should use RowIsExpandedChanged. 

    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. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 15 Oct 2011 Link to this post

    But how to know whether the row is expanded or collapsed ?
Back to Top