Hi
given the code below is there any reason why my NewNode.Begin edit is causing an exception - object ref not set to an instance of an object. This works fine if I omit the BeginEdit
Thanks
P
given the code below is there any reason why my NewNode.Begin edit is causing an exception - object ref not set to an instance of an object. This works fine if I omit the BeginEdit
Dim NewNode As New RadTreeViewItem |
NewNode.Header = Now |
Me.CurrentTreeViewItem.IsExpanded = True |
Me.CurrentTreeViewItem.Items.Add(NewNode) |
NewNode.IsSelected = True |
NewNode.BringIntoView() |
NewNode.BeginEdit() |
Thanks
P