Asp.Net Interview Questions and Answers - 1
Question: 1
What are the validation controls available in asp.net?
ASP.NET includes the following validation controls:
RequiredFieldvalidator - Validation succeeds as long as the input control does not contain an empty string.
RangeValidator - Validation succeeds if the input control contains a value within a specific numeric, alphabetic, or date range.
CompareValidator - Validation succeeds if the input control contains a value that matches the value in another specified input control.
RegularExpressionvalidator - Validation succeeds if the value in an input control matches a specified regular expression.
CustomValidator - Validation is performed by a user-defined function.
ValidationSummary - Displays summary of all current validation errors.
Question: 2
Which class is inherited when an Asp.net server control is added to a Web form?
System.Web.UI.Webcontrols class
Question: 3
What is the function of custom validator?
It uses the customized validation code to perform client side validation and server side validation.
Question: 4
Which method is used to force all the validation controls to run?
Page.Validate()
Question: 5
What Asp.net objects encapsulate the state of the client and the browser?
The Session Object.
- 200+ Asp.Net Interview Questions
- Asp.Net Interview Questions and Answers
- Asp.Net Interview Questions and Answers Pdf
- Asp.Net Interview Questions and Answers for Experienced
- Asp.Net Interview Questions and Answers for Freshers
- Asp.Net Important Interview Questions with Answers 2020-2021
- Asp.Net Practical Viva Questions and Answers
- Top 200+ Advanced Asp.Net Interview Questions 2020-2021
Electromagnetic Induction Questions & Answers Pdf More
A.C. Basics and Networks Quiz Questions & Answers Pdf More
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
Hydro Electric Power Projects in India Gk Questions and Answers More
1000+ Funny Puzzle Questions with Answers More
1000+ Ordering of Sentences Questions for NDA/CDS Exam More
100+ Petroleum Engineering Enhanced Oil Recovery Techniques Questions More
Operating System Quiz Questions and Answers 2020-2021 More