I am creating the OrgChart using the demos found and i have come to a style issue with the second and subsequent rows for a group. When i set the DisableDefaultImage to true the subsequent rows are still showing the placeholder for the image. Is there something wrong in my code? Please review:
<telerik:RadOrgChart ID="radOrgChart" runat="server" GroupColumnCount="4" DisableDefaultImage="true" Skin="Sitefinity"> <RenderedFields> <ItemFields> <telerik:OrgChartRenderedField DataField="FullName"/> <telerik:OrgChartRenderedField DataField="Title" /> <telerik:OrgChartRenderedField DataField="ProfileLink" /> </ItemFields> </RenderedFields></telerik:RadOrgChart>//Table to define the nodesDataTable nodeTable = new DataTable();nodeTable.Columns.Add("ID");nodeTable.Columns.Add("ManagerID");//Table to hold the data for the itemsDataTable itemsTable = new DataTable();itemsTable.Columns.Add("NodeID");itemsTable.Columns.Add("ID");itemsTable.Columns.Add("FullName");itemsTable.Columns.Add("Title");itemsTable.Columns.Add("ProfileLink");//Get Contacts Managervar tmpCM = ContactMgr.GetContactByID(ContactToDisplay.ManagerID);//Get Contacts Managers managervar tmpCMM = ContactMgr.GetContactByID(tmpCM.ManagerID);//Get Contacts Managers employeesvar tmpCME = ContactMgr.GetEmployeesByManagerID(tmpCM.ID);//Add the nodes to the nodesTablenodeTable.Rows.Add(new string[] { "1", null});nodeTable.Rows.Add(new string[] { "2", "1"});nodeTable.Rows.Add(new string[] { "3", "2" });//Add the details of the employees to the itemTableitemsTable.Rows.Add(new string[] { "1", tmpCMM.ID.ToString(), "<b>" + tmpCMM.FullName + "</b>", tmpCMM.Title, "<a href='/contacts/detail.aspx?id=" + tmpCMM.ID + "'>View Details</a>" });itemsTable.Rows.Add(new string[] { "2", tmpCM.ID.ToString(), "<b>" + tmpCM.FullName + "</b>", tmpCM.Title, "<a href='/contacts/detail.aspx?id=" + tmpCM.ID + "'>View Details</a>" });foreach (Directory_BO.Contact tmpC in tmpCME) itemsTable.Rows.Add(new string[] { "3", tmpC.ID.ToString(), "<b>" + tmpC.FullName + "</b>", tmpC.Title, "<a href='/contacts/detail.aspx?id=" + tmpC.ID + "'>View Details</a>" });//Setup the relationships within the OrgChartradOrgChart.GroupEnabledBinding.NodeBindingSettings.DataFieldID = "ID";radOrgChart.GroupEnabledBinding.NodeBindingSettings.DataFieldParentID = "ManagerID";radOrgChart.GroupEnabledBinding.NodeBindingSettings.DataSource = nodeTable;radOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataFieldNodeID = "NodeID";radOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataFieldID = "ID";radOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataSource = itemsTable;//Bind the OrgChartradOrgChart.DataBind();