RadTreeView Node Highlight Reset?

7 posts, 0 answers
  1. Daniel
    Daniel avatar
    15 posts
    Member since:
    Jun 2009

    Posted 02 Jul 2009 Link to this post

    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?
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 03 Jul 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Daniel
    Daniel avatar
    15 posts
    Member since:
    Jun 2009

    Posted 06 Jul 2009 Link to this post

    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.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 09 Jul 2009 Link to this post

    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.
  6. Roman
    Roman avatar
    6 posts
    Member since:
    Oct 2011

    Posted 06 Feb 2012 Link to this post

    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 ...}">
        ...

  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 09 Feb 2012 Link to this post

    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 >>
  8. Roman
    Roman avatar
    6 posts
    Member since:
    Oct 2011

    Posted 09 Feb 2012 Link to this post

    Hi, Stefan
    Ok. thanks.
Back to Top
UI for WinForms is Visual Studio 2017 Ready