TreeView scrollbars

2 posts, 1 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Dec 2012

    Posted 25 Jun 2012 Link to this post

    I have a treeview on my form and I'm adding nodes to it in the Form.Load event.  When I run the code, the vertical and horizontal scrollbars appear as if all the nodes were expanded; the scrollbars aren't needed but they appear anyway.  I have to expand and then collapse each node, and then everything works as expected. Is this a bug? Do I need to set a certain property to prevent this?
  2. Answer
    Jack avatar
    2333 posts

    Posted 27 Jun 2012 Link to this post

    Hello Liru,

    Thank you for bringing this issue to our attention. I logged it in our issue tracking system and it will be addressed in one of our upcoming releases. I updated also your Telerik points accordingly. You can track the issue status by following this link.

    You can work around the issue by surrounding the code which adds nodes with calls to BeginUpdate and EndUpdate methods. Here is a sample:

    I hope it helps. If you still experience the issue, please send us your application and we will try to find a proper solution.

    Kind regards,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top