Drag/drop crashes when tree is in styled ScrollViewer

3 posts, 1 answers
  1. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 03 Nov 2009 Link to this post

    I am using a custom style for the scrollviewer/scrollbar components, and inside one of these I have put a treeview with drag/drop enabled. This has always worked fine. But now I have tried upgrading to the Beta2_2009_3_1023 version of RadControls. Now when I try to drag a tree item to another, the whole thing crashes. This seems to have to do with my custom style, as it works just fine when I just use the default scrollviewer. Please take a look and see if it can be fixed. For now I will use the default scrollviewer style for the trees wheere I need drag/drop.

    Sample project:
    http://tinyurl.com/yazau4b

    Best regards,
    /Henrik
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 06 Nov 2009 Link to this post

    Hi hwsoderlund,

    The problem was in the property  HorizontalScrollBarVisibility in the ScrollViewer's style.Its default value is Auto.Please find attached a smaple project.

    If you have any further question please do not hesitate to ask.

    I hope this will help you.

    Kind regards,

    Dimitrina
    the Telerik team

     


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 06 Nov 2009 Link to this post

    Yes, that fixed the problem. Thanks!
Back to Top