Is there no Visual State for an invalid state for the XamComboEditor?
For example if I use the control on a form and the field is required and nothing is selected in the XamComboEditor I would like to validate this.....
Please help!
To do this you need to retemplate the XamComboEditor to make use of the ValidationStates VisualStateGroup. Please see the following forum thread for an explanation and a sample of how to accomplish this:
<http://forums.infragistics.com/forums/t/48422.aspx>
Please let me know if you have any further questions or concerns about this matter.
Ok that seems to clear that up but I have also noticed something else.
When I change the selected value it re-binds to my model multiple times, sometimes the value is null even, when clearly an item is selected. this is causing lots of issues with my validation.
I have updated my solutions that has been attached to compare a standard ComboBox to XamComboEditor Behavior. In the case of the ComboBox, the behavior is what I expect it to do, not try and bind a null value when something is clearly selected, also, it only hits the setter a single time.
I have included a slimmed down example, please help!
Hello gmcalab,
This looks like a bug so I have created a bug instance. I'll notify our support team to attach you to the bug instance, so that you're notified when its fixed.
Regards