Client Side validation for TextBox in ASP.Net Core MVC

preview_player
Показать описание
Here Mudassar Khan has explained how to implement TextBox validation in ASP.Net Core MVC.

The TextBox validation will be performed on Client Side as well as Server Side using Data Annotations in ASP.Net Core MVC.

Chapters:
00:00 Introduction
00:20 Setting Required Data Annotation attribute
01:23 Adding Form in View
01:44 Adding the TextBox
02:04 Adding Span element for error message
02:45 Adding POST Action method in Controller
03:47 Displaying ViewBag message
05:03 Demo

Follow us on:

#TextBox #ClientSide #Validation #DataAnnotation #Core #MVC #ASP.Net
Рекомендации по теме