Validation controls in ASP DOT NET
What are validation controls? How many validation controls are present in ASP.NET 4.0?
Expert
The Validation controls are responsible to authenticate data of the input control. Every time we provide some input to the application, it carries out validation and displays the error message to user, if validation fails.
Six types of validation controls in ASP.NET 4.0 are as follows:
i. ValidationSummary – It displays the summary of every validation error in the central location. ii. CompareValidator – It performs the comparison among values contained in the two controls. iii. RegularExpressionValidator – It ensures which input is according to specified pattern or not. iv. CustomValidator – It writes our own method to do added validation. v. RangeValidator- It checks value according to range of the value. vi. RequiredFieldValidator – It checks either the control is empty or not.
Illustrate the terms validation controls?
Describe the relationship between an object and the class?
Explain the concept of strong names.
Explain the use of Copy Project command?
By how many ways you can instantiate a tuple?
Explain the use of App_Code folder in ASP.NET?
How can you avoid a class from overriding in C# and Visual Basic?
Explain two properties of GridView control which specifies to turn on paging and sorting.
Which statement can be used to replace many if-else statements in the code.
Write the difference between System.StringBuilder and System.String classes?
18,76,764
1960138 Asked
3,689
Active Tutors
1412776
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!