Problem with the RadTreeView and Loading on demand

2 posts, 0 answers
  1. frederic szymczak
    frederic szymczak avatar
    9 posts
    Member since:
    Jul 2009

    Posted 16 Dec 2010 Link to this post

    I am using the RadTreeView with the last version of Telerik dll, for Silverlight 4 but I have a strange comportement.
    I am using LoadOnDemand. The Loading Panel never disappears.
    Also, when I click the first time on an item, the children don't appear. They appear only when I click again.

    Do you have an idea of this problem ?



    Border x:Name="BorderBottomLeftPanel" Grid.Row="2" Style="{StaticResource BorderContentPanelStyle}">



















    ItemContainerStyle = "{StaticResource MyRadTreeViewItemStyle}"



    Foreground="{StaticResource RadTreeViewForegroundBrush}"



    ExpanderStyle="{StaticResource ExpanderStyle1}"

















    Thank You,


  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 21 Dec 2010 Link to this post

    Hi frederic szymczak,

    Could you please find the attached project and let us know if it satisfies you. The single-click expand could be achieved with setting the IsExpandOnSingleClickEnabled property to true. On the other hand, the loading animation ( if this is what you had in mind ) stops when you set      
    clickedItem.IsLoadingOnDemand = false;
    supposing the clickedItem is the RadTreeViewItem that you wish to load new children on demand ( that you`ve clicked). 
    If this doesn`t fit in  your scenario, we would highly appreciate if you can send us a sample that demonstrates the issue you have come up with. You can also modify the attached project and send it back. Thank your for your cooperation in advance.

    Best wishes,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft R3 2016 release webinar banner
Back to Top