I am using ASP.NET MVC 2, DataAnnotation and MicrosoftMvcValidation.js for validation. I have two forms , in my opinion, there is a way to use the Validation Group for client-side validation (for example, in ASP.NET Web formats).
thank
The example I saw with the nerd dinner ( http://www.asp.net/mvc/videos/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner ) uses a partial A class for modifying a dinner model by adding validation to specific elements. Thus, verification can be performed at the server level, but without server management.
But ... you can still use validation elements with asp.net mvc if that is what you mean.
Did you mean to show a summary of the errors? If so, you can use the HTML helper to summarize validation, such as Html.ValidationSummary (...).
Hope this helps!
Source: https://habr.com/ru/post/1748451/More articles:Apache Struts: Unable to recover ActionForward - jspHTML/CSS: абсолютное позиционирование элементов внутри- htmlWill you publish the application without testing the device? - iphoneIs handling a dead project? - pythonCassandra failover vs other databases? - cassandraHow to handle browsers where JavaScript may be disabled? - javascriptHaskell: a `show` option that does not wrap String and Char in quotation marks - pretty-printBrowser Zoom Level: Detect, Configure Using Javascript - BrowserRegister at GrailsUnitTestCase? - loggingC ++, sleep and loops - c ++All Articles