or
treeView.AddNodeByPath("General\\Billing\\February\\Report.txt")treeView.AddNodeByPath("General\\Billing\\March\\Report.txt")treeView.AddNodeByPath("General\\Billing\\April\\Report.txt")private RadTreeNodeCollection AddNode(string path){ if (path == String.Empty) return treeView.Nodes; string node = Path.GetFileName(path); RadTreeNodeCollection parent = AddNode(Path.GetDirectoryName(path)); if (parent.Contains(node)) return parent[node].Nodes; else return parent.Add(node).Nodes;}
private void dragDropService_PreviewDragDrop(object sender, RadDropEventArgs e) { Console.WriteLine(e.HitTarget); var el = e.HitTarget as RadCalendarElement; if (el != null) { GridDataRowElement draggedRow = ((SnapshotDragItem)e.DragInstance).Item as GridDataRowElement; if (draggedRow != null) { int TaskID = (int)draggedRow.Data.Cells["TaskID"].Value; // determine the date we dragged to, and update the task. return; } }

I am trying to copy and paste rows from my RadGridView to Excel. It works as expected when the first and last columns are visible, but if the first column is hidden the opening TABLE/TR tags in the HTML format on the clipboard are lost, and if the last column is hidden the matching closing tags are lost.
Repro: (VS2012, RadGridView Q1 2014)
Add a datasource with three columns. Right click on row header -> Copy, Paste into Excel.
Expected: The data spans three columns.
Actual: The data spans three columns. Yay!
Clipboard contents:
Version:1.0StartHTML:00000097EndHTML:00000239StartFragment:00000133EndFragment:00000203<HTML><BODY><!--StartFragment--><TABLE><TR><TD>3</TD><TD>Tools</TD><TD>Electronics</TD></TR></TABLE><!--EndFragment--></BODY></HTML>
Hide the first column. Right click on row header -> Copy, Paste into Excel.
Expected: The data spans two columns.
Actual: All data is in a single cell.
Clipboard contents: No <TABLE><TR>.
Version:1.0StartHTML:00000097EndHTML:00000216StartFragment:00000133EndFragment:00000180<HTML><BODY><!--StartFragment--><TD>Books</TD><TD>Chocolate</TD></TR></TABLE><!--EndFragment--></BODY></HTML>
