Asp.Net Important Interview Questions with Answers 2020-2021 - 1

Question: 1

What are the different types of validation controls?

There are six types of validation controls available:

RequiredFieldValidator

RangeValidator

RegularExpressionValidator

CompareValidator

CustomValidator

ValidationSummary

Question: 2

What are server controls?

ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality.

They are used in ASP.NET pages and in ASP.NET code-behind classes.

Question: 3

What type of code (server or client) is found in a Code–Behind class?

Server– side code.

Question: 4

What is the property you need to set for the CustomValidator control that specifies the event handler?

OnServerValidate.

Question: 5

What software packages must be installed to serve ASP.NET pages from a computer?

For a computer to serve ASP.NET pages, the .NET Framework and a web server that supports ASP.NET must be installed.

Related Questions