[DevExpress Support Team: CLONED FROM T266518: DataLayoutControl - Databinding Problem with LookupEdit and Complex Object]
Okay I have one more question related to databinding a property that is a complex object and required attributes.
I have the property defined as this…
C#[Required()]
public WagePaymentMethod ClaimantWagePaymentMethod
{
get { return GetProperty(wagePaymentMethodProperty); }
set
{
SetProperty(wagePaymentMethodProperty, value);
}
}
However, the dxErrorProvider is not enforcing this required attribute for the LookUpEdit control bound to this. Why? Is there a trick to get that type of scenario to work?