asp.net mvc - How to check fluentvalidation isnull or isempty rule for a property in MVC 5? -


i made htmlhelper checking isrequired attribute in modelmetadata. depending on this, changed font of label viewmodel propery bold or add asterisk or whatever. added fluentvalidation package, nice use. downside is, don't know how check if property has validation isnull or isempty (which indicate me same isrequired attribute).

thanks help.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Why am I getting Internal .NET Framework Data Provider error 1025 when passing Method to where? -

linux - phpmyadmin, neginx error.log - Check group www-data has read access and open_basedir -