Good Day,
This is my first time to use Telerik OrgChart and I am facing some difficulties while trying to view it as it renders but doesn't show on the page.
Below is my code.
DataTable employees = new DataTable();
employees.Columns.Add("EmployeeID", typeof(String));
employees.Columns.Add("EmployeeName", typeof(String));
employees.Columns.Add("DepartmentName", typeof(String));
employees.Columns.Add("JobTitle", typeof(String));
employees.Columns.Add("Parent", typeof(String));
employees.Rows.Add("1111", "aaa", "aaa", "aaa", null);
telerikOrgChart.DataFieldID = "EmployeeID";
telerikOrgChart.DataFieldParentID = "Parent";
telerikOrgChart.DataTextField = "EmployeeName";
telerikOrgChart.DataBind();
Thanks in advance,
This is my first time to use Telerik OrgChart and I am facing some difficulties while trying to view it as it renders but doesn't show on the page.
Below is my code.
DataTable employees = new DataTable();
employees.Columns.Add("EmployeeID", typeof(String));
employees.Columns.Add("EmployeeName", typeof(String));
employees.Columns.Add("DepartmentName", typeof(String));
employees.Columns.Add("JobTitle", typeof(String));
employees.Columns.Add("Parent", typeof(String));
employees.Rows.Add("1111", "aaa", "aaa", "aaa", null);
telerikOrgChart.DataFieldID = "EmployeeID";
telerikOrgChart.DataFieldParentID = "Parent";
telerikOrgChart.DataTextField = "EmployeeName";
telerikOrgChart.DataBind();
Thanks in advance,