Validation in ASP.NET MVC | Client Side Validation

preview_player
Показать описание
In this ASP.NET MVC Video tutorial i will show you , How to use validation in ASP.NET MVC. I come from ASP.NET WEB FORM , So, i share same validation in mvc , thease are:
1. Required Field Validator
2. Rangle Field Validator
3. Compare Field Validator
4. Regular Field Validator
5. StringLength validator.
Рекомендации по теме
Комментарии
Автор

I am having a problem with the image upload in the MVC with the migration. Can you help me? Please

Triple
Автор

This exactly is not Client side but server side

hoangduy
Автор

How to override te default validation for types ? When i use double and that I try to write letters in the input i get the default "the value "hdhsk" is not valid", but how can I override this one ? I finded a way with using ModelState.Clear() before using with simple one field forms but with bigger one it's not so easy...

maximilianponiatowski
Автор

Man that is server side validation . When press button you ask server and server backing to you his answer .

markowasovic-glisic
Автор

I need model validation with another field input name how to do if anyone know tell me

sangeeta
Автор

Iam sure everyone have error problem of connect pages

uzairalishah