This is a migrated thread and some comments may be shown as answers.

DataForm validation with EF partial class and DataAnnotation

1 Answer 62 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
DMC Helpdesk
Top achievements
Rank 1
DMC Helpdesk asked on 19 Sep 2011, 01:35 PM
Hi,

I would like to see an example on how to use EF entities as a model with validation being based on EF partial class data annotations.

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 22 Sep 2011, 12:49 PM
Hello Dmc Helpdesk,

RadDataForm currently supports the Display set of data annotation attributes only. In order to perform validation the recommended way with the current version is to use the ValidatingItem event of RadDataForm.

Best wishes,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DataForm
Asked by
DMC Helpdesk
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or