asp.net mvc - MVC Model Validation Fails Followed by Empty Response -
i'm testing screens in mvc application html input in fields of text , i'm not sure what's wrong.
for of fields validation summary shown expected when enter text suspect characters <b>bold</b>
framework invalidates model before controller code hit , empty response server.
the string property in question decorated in model this:
[stringlength(1000, errormessage = "must under 1000 characters long"), datatype(datatype.multilinetext, errormessage = "text error")]
why validation on 1 field generate empty response?
Comments
Post a Comment