Display model warnings along with errors in ASP.NET MVC

Simon Farrow pointed out a good way to extend the MVC framework to handle warnings. My question is how to display warnings along with model error via ValidationSummary, but in a different color. You can control if you only display property level warnings in a summary close to a property or both by using ValidationSummary.

+3
asp.net-mvc modelstate


source to share


No one has answered this question yet

See similar questions:

6
Model Warnings in ASP.NET MVC

or similar:

799
ASP.NET MVC 3.0 File Upload
611
How do you handle multiple submit buttons in ASP.NET MVC Framework?
559
ASP.NET MVC - setting custom IIdentity or IPrincipal
537
How do I create a dropdown from an enum in ASP.NET MVC?
481
Compile views in ASP.NET MVC
472
How to make ASP.NET MVC string view?
419
How to get all errors from ASP.Net MVC modelState?
205
How to create custom error pages in ASP.NET MVC 4
6
Model Warnings in ASP.NET MVC
1
ValidationSummary does not display error



All Articles
Loading...
X
Show
Funny
Dev
Pics