I have a derived RadTreeNode. And in the ValueValidating event of Rad treeview, I am moving my derived RadTreeNode, based on the text entered, if validation was successful.
But moving the RadTreeNode causes a Null reference exception in RadTreeView.EndEdit(bool). I am not sure when the EndEdit gets called internally to the RadTreeview, but I guess it doesnt like the Treenode being moved in ValueValidating when it was successful.( I dont get the exception when i dont move the node).
Previously, I was able to do the same with TreeView in AfterLableEdit, with out any problem, I was moving the tree node in AfterLableEdit event. but when I change my code to RadTreeView ValueValidating and Edited events, I couldnt move the nodes in ValueValidating event.
Any help is highly appreciated.
thanks
Arun
But moving the RadTreeNode causes a Null reference exception in RadTreeView.EndEdit(bool). I am not sure when the EndEdit gets called internally to the RadTreeview, but I guess it doesnt like the Treenode being moved in ValueValidating when it was successful.( I dont get the exception when i dont move the node).
Previously, I was able to do the same with TreeView in AfterLableEdit, with out any problem, I was moving the tree node in AfterLableEdit event. but when I change my code to RadTreeView ValueValidating and Edited events, I couldnt move the nodes in ValueValidating event.
Any help is highly appreciated.
thanks
Arun