Hi,
I'm trying to create a diagram with images programatically, I followed the demo http://demos.telerik.com/aspnet-ajax/diagram/examples/serverside/defaultcs.aspx and its ok. The problem is that the image only shows in the first shape.
The code is
<telerik:RadDiagram runat="server" ID="diagrama" > <LayoutSettings Type="Tree" Subtype="Right"/> <ShapeDefaultsSettings Type="Circle"/> </telerik:RadDiagram>
And .Net
for (int i = 0; i < 4; i++){ DiagramShape nodo = new DiagramShape(); nodo.Id = i.ToString(); String contenido = "<label>" + i.ToString() + "</Label>"; contenido += "<img src='FacturaPagada.png' />"; nodo.ContentSettings.Html = contenido; diagrama.ShapesCollection.Add(nodo); }
