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
Post a Comment