We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Data Annotations on View Model

Thread ID:





127017 Oct 21,2016 05:01 AM UTC Oct 26,2016 04:11 AM UTC ASP.NET Core 3
Tags: Grid
Cody S
Asked On October 21, 2016 05:01 AM UTC

Is the functionality for data annotations on view models not applied to .net core controls yet? I tried adding some (Display, ReadOnly, etc) and I'm not getting any effect from it. Also, I don't think the BindAttribute-Exclude from the syncfusion MVC documentation will apply to .net core because it's my understanding that exclude doesn't exist in .net core. If that's the case, what would be the alternative?

If syncfusion for .net core doesn't support data annotations, when will it? If it does, can I get a list of .net core specific data annotations and an example of each one being used?


Cody S
Replied On October 21, 2016 05:10 AM UTC

And also to clarify, I'm using auto generated columns. So there's no column property in my grid builder that would override the data annotations.

Cody S
Replied On October 25, 2016 12:24 AM UTC

Any answer to this?

Karthick Kuppusamy [Syncfusion]
Replied On October 26, 2016 04:11 AM UTC

Hi Codey, 

A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon