Multiple tree nodes remain highlighted.

6 posts, 0 answers
  1. Bijender
    Bijender avatar
    5 posts
    Member since:
    Jul 2011

    Posted 28 Jul 2011 Link to this post


    I am using Telerik tree control inside the busy indicator. When user clicks on a tree node then busy indicator shows that some process is going on. But when user clicks on multiple tree node as soon as the busy indicator stops then multiple tree nodes become hightlighted. It creates ambiguity to user that which node was selected.

    When I take out the Telerik tree view code from the busy indicator then Tree works fine.

    Below is the code used.  I have attached the image as well.






    <telerik:RadBusyIndicator x:Name="BusyInd" HorizontalAlignment="Center" Background="Transparent" VerticalAlignment="Center" BorderThickness="0" >










    telerik:RadTreeView x:Name="locationTree" LoadOnDemand="locationTree_LoadOnDemand" VerticalAlignment="Top" Margin="0" Grid.Row="1" MinHeight="300" Width="Auto" Height="{Binding Height, ElementName=grdTree}" ExpanderStyle="{StaticResource ExpanderStyle1}" IsLineEnabled="True" Background="White" PreviewSelectionChanged="locationTree_PreviewSelectionChanged" SelectionChanged="locationTree_SelectionChanged">





















    <telerik:HierarchicalDataTemplate ItemsSource="{Binding SubLocation}">




















    <TextBlock Text="{Binding LOCATION_ID}" />















































    Please Help
  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 01 Aug 2011 Link to this post

    Hi Bijender,

    Which version of our products are you using? We did have such an issue but it was fixed for the official Q2 2011 release. I've attached my test project. Could you please take a look at it and let me know if I am missing anything. I'd be glad to further assist you.

    Kiril Stanoev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. Bijender
    Bijender avatar
    5 posts
    Member since:
    Jul 2011

    Posted 02 Aug 2011 Link to this post

    Hi Kiril,

       Thanks for your reply.

    I am using the RadControls for Silverlight Q3 2010 SP1 having version is "2010.3.1314.1040".
    is it ok or do i need to upgrade?

    Bijender Vashist
  4. Bijender
    Bijender avatar
    5 posts
    Member since:
    Jul 2011

    Posted 04 Aug 2011 Link to this post

    Hi Kiril,

       Thanks for your suggestion, after upgrading the control its working fine.

    Bijender Vashist
  5. Bala
    Bala avatar
    20 posts
    Member since:
    Dec 2011

    Posted 19 Mar 2012 Link to this post

    Hi Kiril Stanoev ,

      i m using rad Q2 2011, n i m trying to highlight the text in treeview  by Seraching  the text in text column i m able find node and expand it .but i need to highlight the node / select the text.

    Is it Possible to Highlight the Node  or Not.


  6. Petar Mladenov
    Petar Mladenov avatar
    3162 posts

    Posted 21 Mar 2012 Link to this post

    Hello Bala,

     In databinding scenario, if your DataTemplate set for an ItemTemplate of the RadTreeView could be set like this:
              <TextBlock Text={Binding Name"}"/>
    This way , when you want to ""highlight" particular RadTreeViewItem, you will be able to access the Grid by RadTreeViewItem.Header and set its Background property. Hope this is suitable for you.

    All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top