I have a UserControl that I want to embed in the UltraGrid. The UserControl contains an UltraComboEditor. To implement the IProvidesEmbeddedableEditor Interface, I added this:
#region IProvidesEmbeddableEditor Members public EmbeddableEditorBase Editor { get { return this.ultraComboEditor.Editor; } } #endregion
However, when I try to drop down the combobox that appears in the UltraGrid, the drop down list appears in the upper left part of the screen instead of under the combobox. What do I need to do to remedy this?
What you are doing here will not really embed your UserControl in the grid. All you are doing is using the editor from the UltraComboEditor control. If you want to do that, then you should just expose the UltraComboEditor control from your UserControl via a public property and then set the grid column's EditorControl to the UltraComboEditor.
So how can I really embed my UserControl?