Issue when building a large hierarchy

2 posts, 0 answers
  1. Tom
    Tom avatar
    16 posts
    Member since:
    Sep 2012

    Posted 30 Aug 2012 Link to this post

    I have an application which starts with two nodes linked by a connector.   Double clicking the lower node opens another node and creates a connection, applies a TreeDown layout and runs the AutoFit command.   Continuing to double click the bottom item will open the next node in the sequence.     So, it quickly becomes:  node-connector-node-connector-node....on and on.....all in a straight line down the page.

    The problem arises when you get to the 14th item.   At that point, the same code runs, but the next element doesn't appear.    

    The solution I found was to disable the 'Auto-Fit' ran after each addition of a Node & Connector.

    I've also noted that it will work if you wait about 15 to 30 seconds after a node opens (this isn't an acceptable solution though).


    This appears to be a problem with the Auto-Fit command.    I've since made that a 'manual' command button, but is there a way to avoid this problem?   



    Thanks
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 04 Sep 2012 Link to this post

    Hello Tom,
    Thank you for the feedback but unfortunately I wasn't able to reproduce this issue. Could you please send us some code snippets or a sample project so that we could investigate it further ?
    I've attached the sample project that I used for testing so you could examine it and tell us what you're doing differently.
    We're looking forward to hearing from you.

    Greetings,
    Zarko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top