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.
Unfortunately, activation email could not send to your email. Please try again.

Data Annotations on View Model

Thread ID:





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

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 01:10 AM

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 24, 2016 08:24 PM

Any answer to this?

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

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.

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.