How do you validate the controls in an ASP .NET page?

Answer Posted / raj

We can validate the controls in an ASP.NET page using
validation controls. There are six types of validation
controls in asp.net. They are :

RequiredFieldValidator,
RangeValidator,
CompareValidator,
RegularExpressionValidator,
CustomValidator and
Validation Summary

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are triggers of an updatepanel?

751


I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?

1699


Explain Session state management options in ASP.NET.

848


What is data cache in sql server?

847


Can I stream live content/events?

805


How you can return View from ASP.NET Web API method?

800


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

867


What is the adavantage of using ASP.NET routing?

895


How ViewstateMac works?

2578


Write the different features of a Thread and a Process?

896


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2531


What is a form tag?

708


If you want to write your own dot net language, what steps you will you take care?

748


Where code pages are used?

922


Explain what does wsdl stand for?

753