Hello
The following code is supposed to place an editor control of type UltraNumericEditor on the single node that it has. However, it does not work.
Can you please tell what is wrong?
Thanks a lot.
With Me.UltraTree1 .ViewStyle = Infragistics.Win.UltraWinTree.ViewStyle.OutlookExpress With .ColumnSettings .RootColumnSet.Columns.Add("TestColumn") .AutoFitColumns = Infragistics.Win.UltraWinTree.AutoFitColumns.ResizeAllColumns End With With .Override .ShowEditorButtons = Infragistics.Win.UltraWinTree.ShowEditorButtons.Always .EditorControl = UltraNumericEditor1 End With With .Nodes .Add("FirstNode") End With End With
When running under the OutlookExpress view style, you must assign the editor provider to the EditorControl property of the column in which you want the editor to display.
Example:
this.tree.ColumnSettings.RootColumnSet.Columns["EditorColumn"].EditorControl = this.ultraNumericEditor;
Thanks. I tried but this exception is raised: "The Owner specified a type to EditorWithMask that is not supported by the editor."
By the way, the code of my previous post implies that a new Tree control is placed on the form with no modifications, and that a NumericEditor is also placed (styled with an Office 2007 look). You can see in the code that a single column and a single node is added.
Any ideas?