RequiredField validator control in Part 44

  • دعنا نشارك هذا :
ترتيب الدرس : 44
المدة : 00:15:00
التحكم :
Text version of the video

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.


All ASP .NET Text Articles

All ASP .NET Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

Validation controls are used to ensure if, the data, entered by the user is valid. Microsoft framework, provides 6 built-in validation controls.

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.

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

Sep 23, 2020 07:32:23