1.

In Server how to check whether model has error or not in ASP.Net MVC?

Answer»

Whenever validation fails it will be tracked in ModelState. By using property : IsValid it can be determined. In Server code, check like this :

if(ModelState.IsValid){     // No Validation Errors}


Discussion

No Comment Found