DataForm validation with EF partial class and DataAnnotation

2 posts, 0 answers
  1. DMC Helpdesk
    DMC Helpdesk avatar
    52 posts
    Member since:
    Nov 2007

    Posted 19 Sep 2011 Link to this post


    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
  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 22 Sep 2011 Link to this post

    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 >>

Back to Top