Introduction: Validation Controls - Course ASP.NET 4 and Visual Studio 2010 - Lesson 13
In this video, we start our discussion on validation controls. We explain the need of these controls and their importance for data validation. Any control with the ValidationProperty attribute can have its data validated using the validation controls. These controls validate the data on the client side and the server side. We can turn off the client validation by setting the EnableClientScript property on the validation control to false. The example we create in this case uses the RequiredFieldValidator to make sure the user enters data for the name and the quantity. Then we add the CompareValidator to make sure the user enters a numeric value for the quantity. To associate the control with its validation control, we set the ControlToValidate property. We set the Text property to “[Required]”, and that is what will display to the user if he/she does not enter a value in the associated control.
Inout Homestay - Vacation & Space Rental Portal ScriptSponsored
Car Dealer & Autos Theme (New 2022) - Download Now!Sponsored
Inout Shopping Cart - Multi Vendor EditionSponsored
Monitoring Spot Instance Prices and Migrating Instances to Optimal Types/Regions
Automatically monitoring AWS Spot instance prices and moving servers to better instance types or regions for maximum sav
Website and database migration to AWS EC2 instance
Migrate your website and database from existing hosting to an AWS EC2 server.
AWS Instance & Volume Protection Monitoring Service
Monitoring and protecting up to 10 AWS instances/volumes by enforcing safe deletion settings, with pricing adjustable fo
AWS S3 Glacier Low Cost Deep Archive configurations
Configure S3 Glacier Deep Archive for ultra low-cost long term data storage.

