Hi,
In my application I have an UltraCombo control populated from a Db table. I have noticed strange behaviour which I am hoping someone can suggest a workaround.
All other controls on the page are working as they should, however I noticed in testing that is a user places the focus on the UltraCombo, either by clicking or by Tab key, then they must select a value. If the user does not select a value and decides to leave the field blank, then they are unable to click or tab to any other control. Even my close button, and the built in close button in the top right of the window refuse to work. The only way to break the process is to stop the debugger.
Any ideas?
CheersJason
Got it. Thanks.
Hi Jason,
Yes, I think there's a property like AllowNull or Nullable (I forget which) you can set to tell the control that nulls are valid.
Bingo. It was the LimitToList property.
Is there a way to use LimitToList, and still accept a null value without adding a blank row to the Dataset that is populating the Combo?
There are 2 main reasons why this might happen:
1) You have LimitToList set to true.
2) The Combo is bound to a data source that does not allow null.