Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Issue: Set ValidationContext.MemberName [729]

$
0
0
When implementing a custom ValidationAttribute, the ValidationContext passed to IsValid does not have the MemberName property set.

Solution would be to set the MemberName from the ModelMetadata.PropertyName at the same time the DisplayName is set.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>