Hi,
I have an ultracombo which is linked to a collection as its datasouce. I have set the LimitToList property to false and AllowNull to true but I cannot get it to accept a null value. I have even added a null object to the collection but still it will not let the user loose focus after selecting the null object even though it is in the list. Is this suppose to be the expected behavior? Why won't it register null values as a viable option.
I would like the user to be able to either choose a value or hit tab and continue on without selecting anything but this null value thing is preventing me from doing this. Also, the UI locks when the focus is in the ultracombo until the user selects an option. I've read other posts on here about similar issues but none of them seem to fix my issue. I have try setting the LimitToList = true and handling the ItemNotInList() event (e.retainfocus = false) but this event does not fire when the nothing is entered. If this is not the expected behavior can anyone help get this? Thanks in advance for your time.
What version of the controls are you using?
Is the control bound? By that I mean the Value or Text property of the control, not the list. If the Value property is bound and the data source it's bound to does not accept null, that would explain the behavior you are getting.
If it's not bound, then I can't think of any other reason why it might not work, as long as AllowNull is true.
Try trapping the Validating event and see if that event fires. If so, see if e.Cancel is set to true in that event.
If none of that helps, see if you can reproduce the issue in a small sample project and post it here and I will be happy to take a look at it for you.