Hello
Perhaps telerik diagrams are quite good, but I can't find out how to reload a diagram?
I have a diagram like this:
@(Html.Kendo().Diagram()
.Name("diagram")
.DataSource(dataSource => dataSource
.Read(read => read
.Action("GetLinkedPersonsData", "KartotekaKlientow")
)
.Model(m => m.Children("Items"))
)
.Editable(false)
.Layout(l => l.Type(DiagramLayoutType.Layered))
.ShapeDefaults(sd => sd
.Visual("LinkedPersonsTemplate")
)
.ConnectionDefaults(cd => cd
.Stroke(s => s
.Color("#979797")
.Width(2)
)
)
)
and when I click I want the diagram to reload and get new data without refreshing the page. It would be also solution to inject new data into diagram.
Is there any way to to any of these?