WinForms RadTreeView "ShowLines" not working at run-time

3 posts, 0 answers
  1. BRiddle
    BRiddle avatar
    24 posts
    Member since:
    Sep 2010

    Posted 24 Feb 2011 Link to this post

    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. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 24 Feb 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 28 Feb 2011 Link to this post

    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!
Back to Top