QuoteReplyTopic: RelatedList validated with data annotations Posted: 03-Apr-2013 at 6:57pm
DevForce won't automatically perform validation on a RelatedEntityList. You can instead try doing the validation on the scalar side of the relationship, adding the annotation on either, or both, the scalar navigation property and the corresponding FK property.
You can also try adding a "BeforeGet" or "AfterGet" property interceptor for your RelatedEntityList. Within the interceptor you can then force validation on the entity or specific properties, or perform other actions. Setter interceptors aren't provided for these properties.
What sort of validation do you want to provide on the list?
Hello: I don't know if is possible to validate a property of type "RelatedEntityList" with a data annotation (custom verifier validator) and how?. Thanks so much in advance for your answer.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum