Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: How to add the Property value with the localizemessage

$
0
0
You're not using WithLocalizedMessage properly - it doesn't take a string. It should take a reference to a property that points to a resx file - this is explained in this page in the documentation

Also note that you won't be able to use client-side validation. Using custom placeholders within error messages will only work with server-side validation.

Jeremy

Viewing all articles
Browse latest Browse all 1917

Trending Articles



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