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

Custom Shape and ContainerShape

1 Answer 101 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 07 Mar 2013, 02:19 PM
Good morning

I've been trying to insert a custom diagram shape into a RaddiagramContainer in code behind using the following 

containerItem.Items.Add(customshapeItem); 

it seems that the container.items.count is 1,however when the diagram is display shows my custom shape in the position of the diagram but not inside the container what could be happening?? 

Thanks in advanced

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 12 Mar 2013, 03:04 PM
Hello Carlos,

Can you send over a sample project demonstrating your scenario. Specifically what we need to know is:
  • how you define your custom shape,
  • what is the setup of the RadDiagram,
  • where and how you define the RadDiagramContainerShape
  • where and how you use the code-behind logic that adds the custom shape in the ContainerShape

If you can elaborate more on your scenario and the points above we will be able to better understand your case and assist you to implement your scenario.

In the meantime you can examine the ContainerShape article in our documentation as it provides a deeper insight into the logic of the control.


Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Carlos
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or