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

RadTreeView Node Highlight Reset?

6 Answers 201 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 02 Jul 2009, 10:49 AM
Hi,

i change the Focus in the radTreeView1_NodeCheckedChanged event.

If i do this, the radTreeView1 dont remove the Highligh from the previous node. If i mouse over the previouse node, the Highlight is gone.

Can i reset the RadTreeView Highlights in code?

6 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 03 Jul 2009, 06:51 PM
Hi Daniel,

You have to set the SelectedNode property to null.

Kind regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Daniel
Top achievements
Rank 1
answered on 06 Jul 2009, 07:14 AM
Hi,

i need the SelectedNode property but not the Highlight. I think it is a little Bug. The SelectedNode hase a bit darker Color than the Highlight Node.

It confuse the User, he think 3 Nodes are selected but it is still only 1 Node selected the other tow one are only Highlighted.

The Highlight Bug comes only, if the RadTreeView Control leaves the Focus in the NodeCheckedChanged event.
0
Victor
Telerik team
answered on 09 Jul 2009, 07:38 AM
Hi Daniel,

I am afraid that I was not able to reproduce the issue. I set up a form with a RadTreeView and a RadButton. In the NodeCheckedChanged event I call RadButton.Focus() to remove the focus from the tree view and everything works as expected. Please provide more details on your application or submit a support ticket with a sample application which demonstrates the issue.

You can submit a support ticket by logging in with your account and navigating to your support --> support tickets. I am looking forward to your reply.

Greetings,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Roman
Top achievements
Rank 1
answered on 06 Feb 2012, 02:49 PM
Hi!
I have a
similar behavior of the RadTreeListView control in silverlight. This happened after upgrading to version 2011.3.1222
If I change the selected node - the previous node is highlight a cell border

 <telerik:RadTreeListView x:Name="ComponentHierarchy"
                         AutoLoadHierarchy="True"
                         AutoGenerateColumns="False"
                         SelectionMode="Single"
                         SelectionUnit="FullRow"
                         ItemsSource="{Binding HierarchicalItems, Mode=OneWay}"
                         HorizontalAlignment="Left"
                         Visibility="{Binding HasError, Converter={StaticResource ...}, ConverterParameter=Inverse}"
                         RowIndicatorVisibility="Collapsed"
                         IsReadOnly="True" RowDetailsTemplateSelector="{StaticResource ...}"
                         IsDragDropEnabled="True"  
                         DragCueItemTemplate ="{StaticResource ...}">
    ...

0
Stefan
Telerik team
answered on 09 Feb 2012, 10:32 AM
Hi Roman,

This forum concerns RadControls for WinForms suite, rather than RadControls for Silverlight controls. Please address your question in the appropriate forums (http://www.telerik.com/community/forums/silverlight/treelist.aspx), so it can be handled by the appropriate staff members.

Thank you for your understanding.
 
Kind regards,
Stefan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Roman
Top achievements
Rank 1
answered on 09 Feb 2012, 11:39 AM
Hi, Stefan
Ok. thanks.
Tags
Treeview
Asked by
Daniel
Top achievements
Rank 1
Answers by
Victor
Telerik team
Daniel
Top achievements
Rank 1
Roman
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or