view more software Tips and Tricks
Updated: 03/25/2016 14:03 PM
Author: Shiju Mathews
When validation errors are occurring and it is not stopped the form submitting to the "POST" action, we need to debug the errors fro correction. This validation errors can be analyzed by using the "ModelState" object.
Using LINQ version, if you want to join all the error messages into one string as follows
Or the errors can be loaded into a string as bellow.