This is a migrated thread and some comments may be shown as answers.

Multiple tree nodes remain highlighted.

5 Answers 80 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Bijender
Top achievements
Rank 1
Bijender asked on 28 Jul 2011, 02:00 PM
Hi,

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:RadTreeView.ItemTemplate>

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

<StackPanel>

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

</StackPanel>

 

 

 

 

 

 

 

 

 

</telerik:HierarchicalDataTemplate>

 

 

 

 

 

 

 

 

 

</telerik:RadTreeView.ItemTemplate>

 

 

 

 

 

 

 

 

 

</telerik:RadTreeView>

 



</

 

 

telerik:RadBusyIndicator>

 



Please Help

5 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 01 Aug 2011, 09:37 AM
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.

Greetings,
Kiril Stanoev
the Telerik team

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

0
Bijender
Top achievements
Rank 1
answered on 02 Aug 2011, 06:58 AM
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?

Thanks,
Bijender Vashist
0
Bijender
Top achievements
Rank 1
answered on 04 Aug 2011, 07:56 AM
Hi Kiril,

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

Regards,
Bijender Vashist
0
Bala
Top achievements
Rank 1
answered on 19 Mar 2012, 01:49 PM
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.


msb



0
Petar Mladenov
Telerik team
answered on 21 Mar 2012, 07:51 AM
Hello Bala,

 In databinding scenario, if your DataTemplate set for an ItemTemplate of the RadTreeView could be set like this:
<DataTemplate>
    <Grid>
          <TextBlock Text={Binding Name"}"/>
    </Grid>
</DataTemplate>
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 >>
Tags
TreeView
Asked by
Bijender
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Bijender
Top achievements
Rank 1
Bala
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or