RequiredField validator control in asp.net Part 44

  • دعنا نشارك هذا :
ترتيب الدرس : 44
المدة : 00:15:00
التحكم :
Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/11/requiredfield-validator-control-in.html

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation1

Slides
http://csharp-video-tutorials.blogspot.com/2013/08/part-44-requiredfield-validator.html

All ASP .NET Text Articles
http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html

All ASP .NET Slides
http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html

All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenkat/playlists?view1&sortdd

All Dot Net and SQL Server Tutorials in Arabic
https://www.youtube.com/c/KudvenkatArabic/playlists

Validation controls are used to ensure if, the data, entered by the user is valid. Microsoft asp.net framework, provides 6 built-in validation controls.
RequiredFieldValidator,
RangeValidator,
RegularExpressionValidator,
CompareValidator,
CustomValidator,
ValidationSummary

These validation controls can be used to perform both client side and server side validation.

Browser's understand only client scripts and HTML. In the past to perform client side validation, developers had to write themselves the required javascript code. With validation controls, we don't have to write javascript, we can use the built-in validation controls, which will generate the required javascript for us.

Client scripts can spread viruses and cause security concerns. Because of this, users may disable javascript on their browser. If this happens, client side validation is skipped. That is why, it is always a good practice to have server side validation as well.

Page.IsValid is a read-only property. This property returns true if all the validation controls has passed validation. Use this property to perform server side validation.

سيتم تفعيل التعليقات قريبا

y
Sep 23, 2020 07:32:23
youtube