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

WinForms RadTreeView "ShowLines" not working at run-time

2 Answers 89 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
BRiddle
Top achievements
Rank 1
BRiddle asked on 24 Feb 2011, 04:18 PM
I am using a Q3 2010 RadTreeView with "ShowLines" and "Show RootLines" set equal to "True" and LineStyle = "Solid".  I have the Theme set to "Windows 7" which theme is also dropped on the parent Form.

I have only one root node added at design time.  That nodes "lines' shows as configured in the Designer.  But as soon as I run the program, the line disappears.   When my code adds many other nested child nodes, no lines show for any of them either.

The .CHM file mentions only the "ShowLines" property without referring to any other required associated properties.  Is there an associated property I need to set.to get the lines to show at run-time?   Is there something about the Windows 7 theme that overrides my "ShowLines" setting?  (I would expect explicit manual property settings to override any theme's defaults).

Thank you.
-Bob

2 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 24 Feb 2011, 04:48 PM
Hello Bob,

I've not been able to replicate this. I have a RadTreeView with the nodes added programatically, and the Windows7 theme applied. I have also added the same lines settings as you have described. I have attached a screenshot of the result.

If you are not using the latest SP1 version I would suggest upgrading. If you are, then please could you post a sample that relicates your issue and I'll be happy to take a look.

Thanks
Richard
0
Julian Benkov
Telerik team
answered on 28 Feb 2011, 05:56 PM
Hi Bob,

Currently, we are refactoring our RadTreeView implementing many improvements in the data and UI layers. All themes will be updated and the functionality for the tree view Lines will work properly using the new mechanism of UI rendering. The new version of RadTreeView control will be available in Q1 2011 released in the first half of March.

Best wishes,
Julian Benkov
the Telerik team

Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Treeview
Asked by
BRiddle
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Julian Benkov
Telerik team
Share this question
or