Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
UltraComboEditor allows typing even if DropDownStyle is set to DropDownList
posted

I create UltraComboEditor in my control's constructor:

            _comboEditor = new UltraComboEditor();
            _comboEditor.DropDownStyle = DropDownStyle.DropDownList;

and assign it to the column in UltraGrid.OnInitializeLayout:

            column.EditorControl = _comboEditor;

But when the editor is shown, it still allows typing in the text even though I did explicitly set DropDownStyle = DropDownStyle.DropDownList (see above). If I modify other properties of the editor, they work fine (for example button alignment).

Any idea why it still allows typing in arbitrary values?