Trying out the Diagram control, I made some changes to your Q2 2013 Organogram sample project to get my data directly from database.
I used the xml object generated from an SQL SERVER stored procedure to populate my organogram. Each time when I load my chart, only the node for the last element in the XML file is visible. I have to click on the Refresh toolbar button at the top to be able to view all the elements of my xml feed. I have two questions:
How can I programmatically invoke the Refresh command on initial load?
If I want to give focus to the topmost hierarchy (e.g. the CEO) on initial load, what do I do?
Thanks !
I used the xml object generated from an SQL SERVER stored procedure to populate my organogram. Each time when I load my chart, only the node for the last element in the XML file is visible. I have to click on the Refresh toolbar button at the top to be able to view all the elements of my xml feed. I have two questions:
How can I programmatically invoke the Refresh command on initial load?
If I want to give focus to the topmost hierarchy (e.g. the CEO) on initial load, what do I do?
Thanks !