Unplanned
Last Updated: 28 Mar 2024 14:39 by ADMIN
Pascal
Created on: 28 Mar 2024 13:29
Category: Diagram, DiagramRibbonBar, DiagramToolBox
Type: Bug Report
0
RadDiagram: StackOverflowException is throw when using the TipOverTree layout of the OrgTreeRouter
In this particular case, the connections are added runtime which triggers the exception when the TipOverTree is routing is used.
1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 28 Mar 2024 14:39

Hello Pascal,

Thank you for reporting this. To workaround this exception, we can create a custom class that derives from RadDiagramConnection and suppress the update while the connection is currently updating.

public class CustomConnection : RadDiagramConnection
{
    private bool isUpdating = false;
    protected override void Update(bool isManipulating = false)
    {
        if (isUpdating)
        {
            return;
        }
        isUpdating = true;
        base.Update(isManipulating);
        isUpdating = false;
    }
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com