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

Layout problem when two Diagram in one page

4 Answers 56 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Kaan
Top achievements
Rank 1
Kaan asked on 23 Sep 2016, 02:50 PM

Hi,

When there is one diagram in the page like:

@(Html.Kendo().Diagram()
            .Name("diagram1")
            .Layout(l => l
                .Type(DiagramLayoutType.Tree)
                .Subtype(DiagramLayoutSubtype.Right)
                .HorizontalSeparation(30)
                .VerticalSeparation(20)
            )
            ...........
)
it renders correct (tree right).

But when there is another diagram:

@(Html.Kendo().Diagram()
            .Name("diagram2")
            )
            .Layout(l => l
                .Type(DiagramLayoutType.Tree)
                .Subtype(DiagramLayoutSubtype.Down)
                .HorizontalSeparation(30)
                .VerticalSeparation(20)
            )

first diagram renders also "tree down"...

So, what should I do?

 

4 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 27 Sep 2016, 09:30 AM
Hello Kaan,

I wasn't able to reproduce the mentioned issue with this dojo sample - http://dojo.telerik.com/oXudE Could you please try to reproduce the problem with this sample and then send it back to us?

Regards,
Danail Vasilev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kaan
Top achievements
Rank 1
answered on 27 Sep 2016, 12:34 PM

Hi Danail,

Yes, it seems in dojo sample works as it is. Can't you test in a C# project?

Thx.

0
Danail Vasilev
Telerik team
answered on 29 Sep 2016, 07:20 AM
Hello Kaan,

Thank you for the clarification. I have logged this issue here - https://github.com/telerik/kendo-ui-core/issues/2231, so that you can track its status.

I have also updated your Telerik points for reporting this issue to us.

Regards,
Danail Vasilev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kaan
Top achievements
Rank 1
answered on 29 Sep 2016, 08:16 AM
Thank you Danail.
Tags
Diagram
Asked by
Kaan
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Kaan
Top achievements
Rank 1
Share this question
or