1 write to ErrorMessage
System.Web (1)
ModelBinding\ModelError.cs (1)
21
ErrorMessage
= errorMessage ?? String.Empty;
4 references to ErrorMessage
System.Web (4)
UI\WebControls\ModelErrorMessage.cs (2)
90
ModelError error = modelState.Errors.FirstOrDefault(modelError => !String.IsNullOrEmpty(modelError.
ErrorMessage
));
92
Text = HttpUtility.HtmlEncode(error.
ErrorMessage
);
UI\WebControls\ValidationSummary.cs (2)
290
if (!String.IsNullOrEmpty(error.
ErrorMessage
)) {
291
errorDescriptions.Add(error.
ErrorMessage
);