jQuery override default validation error message display (Css) Popup/Tooltip like

You can use the errorPlacement option to override the error message display with little css. Because css on its own will not be enough to produce the effect you need. $(document).ready(function(){ $(“#myForm”).validate({ rules: { “elem.1”: { required: true, digits: true }, “elem.2”: { required: true } }, errorElement: “div”, wrapper: “div”, // a wrapper around … Read more

CustomErrors does not work when setting redirectMode=”ResponseRewrite”

It is important to note for anyone trying to do this in an MVC application that ResponseRewrite uses Server.Transfer behind the scenes. Therefore, the defaultRedirect must correspond to a legitimate file on the file system. Apparently, Server.Transfer is not compatible with MVC routes, therefore, if your error page is served by a controller action, Server.Transfer … Read more