When an editor template is overridden with custom one you lose automatic scaffolding of client-side validation which uses data annotation rules. In such a case they should be added manually
Tag: asp.net mvc
Pitfalls of Building Ajax Grid with ASP.NET MVC and jQuery/JavaScriptPitfalls of Building Ajax Grid with ASP.NET MVC and jQuery/JavaScript
This article is about pitfalls which should be considered when you’re implementing an Ajax grid with jQuery and ASP.NET MVC. The sample in the article can be used as a
MvcSiteMapProvider localization with ResourcesMvcSiteMapProvider localization with Resources
The links to descriptions of the approach. It is strongly required to use App_GlobalResources and place resource files with localized strings in it.
Post JSON objects with nested classes to MVC actionPost JSON objects with nested classes to MVC action
Default view model binding of ASP.NET MVC has a disadvantage when using view models with nested classes and JSON objects. The binding is unable to recognize such nested classes and it initializes
How to specify Expires header for static resources in ASP.NET MVC?How to specify Expires header for static resources in ASP.NET MVC?
Thanks to author of the post on Stackoverflow.com. He posted a link to the broadest description of the ways the header “Expires” can be specified for static resources. Here it