In my project, I have INGRAGISTICS 11.1 version. I’m getting the issue in UltraCombo control. Unable to tab out from control.
When we try to find the cause, we observed that OnValidating is failing (always e.cancel = true is returning).
I have XML entity data binding, in my form.
Binding sample code:
this.cmbListC.DataBindings.Add("Value", xKey, "InnerXml");
this.cmbListC.DataBindings.Add("Text", xValue, "InnerXml");
Why always e.cancel is retuning true when data source is null.
Are you binding both the Value and Text properties of the control to different fields? That doesn't make sense and it might be the cause of the problem.
The Value and the Text are linked together. In fact, they are always the same value in the UltraTextEditor and are not stored separately. So unless your "xValue" and "xKey" values are always exactly the same, this will cause a problem. Even if they are not the same, editing the UltraTextEditor will end up trying to update both fields to the same value, which makes the value redundant at the very least and potentially dangerous at worst.
Try binding either the Value or the Text and not both and see if that helps. If not, and you still see the problem when bound to only one field, then my guess is that your data source is not updateable or cannot accept the current value of the UltraTextEditor for some reason.
Mike, we are binding both Text & Value properties of the control to the different fields. and important one is, the control, its not UltraTextEditor its UltraCombo.
i want to bind both text & value, because i want to update both in database.