So I have an UltraWinTree that only allows editing of the check boxes. When I check a box it seems to be ok but when I go to select another node after checking a box I get a message box that pops up that says:
Data Error: Unable to update the data value: column
I'm not even sure where to begin with this error. I have no idea what is causing it. I can usually go from node to node and select different nodes but as soon as I check a box and select a different node it makes this box appear. Its hard to debug an error when I don't know where its breaking.
Well, there is a hot fix for v8.1 on the Infragistics web site. If you can't find it, or it doesn't work, you should submit the issue to Infragistics Developer Support.
Yes its breaking on all exceptions. I have version 8.1 and I don't see any hotfixes available.
That's a tough one - not much to go on there.
Have you tried setting the IDE to break on all exceptions? This could be an error occurring in your code that is getting caught and re-thrown by the tree. That seems unlkely, but it's easy enough to test.
Do you have the latest version/hot fix of the tree?
If none of that helps, see if you can duplicate the exception in a small sample project and Submit an incident to Infragistics Developer Support.
Ok I'm not sure what I did but now I'm getting an exception instead of that dialogue box. This dosen't look like its happening in my code and am not sure how to proceed. Also this time its triggered when I check the box, not when I select another node.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Win.UltraWinTree.UltraTreeNodeColumn.OnEditor_AfterEnterEditMode(Object sender, EventArgs e) at Infragistics.Win.EmbeddableEditorBase.OnAfterEnterEditMode() at Infragistics.Win.CheckEditor.OnAfterEnterEditMode() at Infragistics.Win.EmbeddableEditorBase.EnterEditMode(EmbeddableUIElementBase embeddableElement) at Infragistics.Win.UltraWinTree.UltraTreeNode.BeginCellEdit(UltraTreeNodeColumn column) at Infragistics.Win.UltraWinTree.UltraTreeNode.OnCellMouseDown(CellMouseDownInfo info) at Infragistics.Win.UltraWinTree.UltraTreeNodeColumnEditorOwner.OnEditorMouseDown(EmbeddableUIElementBase embeddableElem, EmbeddableMouseDownEventArgs e) at Infragistics.Win.EmbeddableUIElementBase.RaiseMouseDownEvent(UIElement sender, MouseEventArgs mouseArgs, Boolean isButton) at Infragistics.Win.CheckEditorCheckBoxUIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement) at Infragistics.Win.UIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement) at Infragistics.Win.ControlUIElementBase.ProcessMouseDownHelper(Object sender, MouseEventArgs e) at Infragistics.Win.ControlUIElementBase.ProcessMouseDown(Object sender, MouseEventArgs e) at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) at Infragistics.Win.UltraControlBase.OnMouseDown(MouseEventArgs e) at Infragistics.Win.UltraWinTree.UltraTree.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)