Validation controls in asp .net

It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
Ladva Nidhi
Posts: 295
Joined: Sat Sep 20, 2014 5:26 pm

Validation controls in asp .net

Postby Ladva Nidhi » Thu Oct 16, 2014 5:36 pm

How many types of validation controls are provided by ASP.NET?


Re: Validation controls in asp .net

Postby Guest » Tue Aug 04, 2015 6:09 am

RequiredFieldValidator: It checks whether the control have any value. It is used when you want the control should not be empty.

RangeValidator: It checks if the value in validated control is in that specific range. Example TxtCustomerCode should not be more than eight lengths.

CompareValidator: It checks that the value in controls should match some specific value. Example Textbox TxtPie should be equal to 3.14.

RegularExpressionValidator: When we want the control, value should match with a specific regular expression.

CustomValidator: It is used to define User Defined validation.

Validation Summary: It displays summary of all current validation errors on an ASP.NET page.

Return to “Visual Basic .NET and ASP.NET”

Who is online

Users browsing this forum: No registered users and 1 guest