private void AddColumnsToTreeList()
        {
            if (radTreeResults.Columns.Count > 0) return; //Don't duplicate effort

            var dt = GetDataTable();
            if (dt == null) return;

            foreach (DataColumn c in dt.Columns)
            {
                if (IgnoreColumn(c.ColumnName)) continue;

                var column = new TreeListNumericColumn();
                radTreeResults.Columns.Add(column);
                column.DataField = c.ColumnName;

                switch (c.ColumnName)
                {
                    case "LevelName":
                        column.HeaderText = "Name";
                        column.HeaderStyle.Width = 200;
                        column.HeaderStyle.HorizontalAlign = HorizontalAlign.Left;
                        break;

                    default:
                        column.HeaderText = (c.ColumnName == "StudentCount") ? "Students" : c.ColumnName;
                        column.HeaderStyle.Width = 70;
                        column.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
                        column.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
                        column.MinWidth = Unit.Parse("50");
                        column.MaxWidth = Unit.Parse("200");
                        if (c.ColumnName.Contains("%"))
                        {
                            column.DataFormatString = "{0:P}";
                        }
                        break;
                }
            }
        }
        private void AddTestColumns()
        {
            if (SessionObject.TeacherPortal_assessmentData2 == null) return;

            var assessmentData2 = SessionObject.TeacherPortal_assessmentData2;

            foreach (DataRow test in assessmentData2.Rows)
            {
                var dateTimeCalculated = GetTestDateTimeCalculated(test["ID"].ToString());

                var column = new TreeListNumericColumn();
                radTreeResults.Columns.Add(column);
                column.DataField = "test_" + test["ID"].ToString();
                column.HeaderText = "<a title='" + test["Description"] + " as of " + dateTimeCalculated + "'>"
                                  + test["TestName"].ToString() + "<br/>as of "
                                  + dateTimeCalculated + "</a>";
                column.NumericType = NumericType.Percent;
            }
        }