I have a basic recurring table with the following columns:
Id
Name
ManagerId (this is an FK contraint to Id on the same table)
The markup for my RadOrgChart is this:
I am doing programmatic data-binding with the following:
Is it possible to do groups with this setup? Specifically, while this is only a sample, my OrgChart is far too large to display on a screen with some sample data. What I'm hoping to do is show a visualization where the top entry points to a single group of entries (unknown number of items in this group) below it, that group points to a single group below it (unknown number of items in this group) and so on for up to a specified number of levels. This way the width is fairly static, but it conveys the information I'm trying to display. I'll be binding with specific entities via a WCF service so a declarative datasource isn't an option.
Any suggestions?
Id
Name
ManagerId (this is an FK contraint to Id on the same table)
The markup for my RadOrgChart is this:
<telerik:RadOrgChart ID="RadOrgChart1" runat="server" DataFieldID="Id" DataTextField="Name" DataFieldParentID="ManagerId" Skin="Windows7" GroupColumnCount="4"> </telerik:RadOrgChart>I am doing programmatic data-binding with the following:
this.RadOrgChart1.DataSource = from emp in new TestDataContext().Employees select emp;this.RadOrgChart1.DataBind();Is it possible to do groups with this setup? Specifically, while this is only a sample, my OrgChart is far too large to display on a screen with some sample data. What I'm hoping to do is show a visualization where the top entry points to a single group of entries (unknown number of items in this group) below it, that group points to a single group below it (unknown number of items in this group) and so on for up to a specified number of levels. This way the width is fairly static, but it conveys the information I'm trying to display. I'll be binding with specific entities via a WCF service so a declarative datasource isn't an option.
Any suggestions?