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
Thanks,
that's the answer
Sanya
Hi Sanya,
Writing your own customer Embeddable editor is a very lengthy and difficult process. If you have a recent version of NetAdvantage, it would be far easier for you to use the new UltraControlContainerEditor component and simply embed a UserControl or a control of your own in the grid column.
If you really want to write your own editor, then you should check out the RichTextBoxEditor sample included with NetAdvantage and use that as a guide.
I don't know if its the best thread for me, but i ask my question:
I need to write a custom embeddable editor for myself, for example i need to parse some binary data stored in a database.
Somebody can help me what should i do?
The idea is to use Infragistics.Win.UltraWinEditors, but there is a problem when you try to work with masked ones like Date, DateTime, Time, masked currency. masked double and masked integer, for this I use the Infragistics.Win namespace, for the others (Text, Color, Font, Dropdown, CheckBox, Radio button, etc) I use the Infragistics.Win.UltraWinEditors directly.
For more information on cell UltraWinEditors see the frmCellValueList.vb form example in C:\...\Windows Forms\Samples\WinGrid\Vb\SamplesExplorer
So far, the sample code provided by giochi7 (and I am grateful) is the only one that I made it to work. However, in the scenario that I am working in, I need to create the following controls at runtime (in a number and of a type depending of a custom configuration file):
- A datepicker like control- A combobox- A textbox- A numeric control- A textbox but with a button attached at the right- A Checkbox- A radio button
Now, I do not know if i should be using classes within the Infragistics.Win.UltraWinEditors namespace or classes within the Infragistics.Win namespace.
What I do know is that I cannot get the runtime created editors to work. Any suggestions and advice would be very appreciated.