This is a migrated thread and some comments may be shown as answers.

Routing with implicit style no longer works in Q3 2014

3 Answers 79 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 03 Nov 2014, 12:28 PM
Hi,

I just update to Q3 2014.
RadDiagram has a style in a dictionary like this

<Style TargetType="XDGT:XDiagram" >
    <Setter Property="RouteConnections" Value="True" />
    <Setter Property="AllowCopy" Value="False" />
    <Setter Property="AllowCut" Value="False" />
    <Setter Property="AllowDelete" Value="False" />
    <Setter Property="AllowPaste" Value="False" />
    <Setter Property="AllowDrop" Value="False" />
    <Setter Property="IsConnectorsManipulationEnabled" Value="False" />
    <Setter Property="IsInformationAdornerVisible" Value="False" />
    <Setter Property="IsManipulationAdornerVisible" Value="False" />
    <Setter Property="IsResizingEnabled" Value="False" />
    <Setter Property="IsRotationEnabled" Value="False" />
    <Setter Property="IsSnapToItemsEnabled" Value="False" />
    <Setter Property="IsEditable" Value="False" />
    <Setter Property="IsSnapToGridEnabled" Value="True" />
    <Setter Property="ActiveTool" Value="PointerTool" />
    <Setter Property="SelectionMode" Value="Single" />
    <Setter Property="IsBackgroundSurfaceVisible" Value="True" />
    <Setter Property="RectSelectionMode" Value="Partial" />
    <Setter Property="HorizontalAlignment" Value="Stretch" />
    <Setter Property="MinWidth" Value="500" />
    <Setter Property="telerik:DiagramSurface.IsVirtualizing" Value="False" />
    <Setter Property="telerik:DiagramAnimations.IsPanAnimationEnabled" Value="False" />
    <Setter Property="telerik:DiagramAnimations.IsZoomAnimationEnabled" Value="False" />
    <Setter Property="telerik:DiagramAnimations.AnimationDuration" Value="0.01" />
    <Setter Property="Primitives:BackgroundPageGrid.IsGridVisible" Value="False" />
    <Setter Property="Primitives:BackgroundGrid.IsGridVisible" Value="True" />
    <Setter Property="Primitives:BackgroundGrid.LineStroke" Value="#060000ff" />
    <Setter Property="Primitives:BackgroundGrid.CellSize" Value="90,90" />
</Style>

BEFORE the update Routing worked - after the update I just had straight lines.
Adding RouteConnections="true" directly with the control made it work again.

So this is just informational.

Manfred

3 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 03 Nov 2014, 05:58 PM
Hello Manfred,
Thank you for the feedback! Could you please give us a little bit more information on your scenario - where and how do you create your connections and etc. so that we could try to reproduce this behavior and fix it if it's a bug ?
I've attached our simple test project so that you could take a look at it and tell us what you're doing differently.
We're looking forward to hearing from you again.

Regards,
Zarko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
ManniAT
Top achievements
Rank 2
answered on 03 Nov 2014, 06:04 PM
Hi,

once again - this post was informational.
I have a pretty complex solution with my own Layout and routers.

It worked till I updated to Q3 2014 using the implicit style shown above.
Recompiling the solution with Q3 brought straight connectors.

After I added the setter to the control everything worked like before (Q2 2014 SPx).

The solution is very complex (a lot of assemblies, several style files and so forth), so it is hard to reproduce the "problem" (not really a problem).

Regards
Manfred
0
Zarko
Telerik team
answered on 06 Nov 2014, 11:54 AM
Hello ManniAT,
In this case we'll continue to research this issue and we'll try to fix it for the upcoming SP.

Regards,
Zarko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Diagram
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Zarko
Telerik team
ManniAT
Top achievements
Rank 2
Share this question
or