Explain how server control validation controls works?

Answer Posted / sudhir kunnure

It's simple use server validation control.Just drag
validation control which u required. then set property as
like controlTovalidate,Set proper message. Finally set
value of validation.it depends on which validation control
using if u use 1.Requiredfiledvalidation-then set initial
value
2.Range validator-Max value and min value
3.Regularexpressionvalidation-use format email,phone etc.
4.Compaire validation-Two controls contol of compare and
its operator -less,greater,Equal etc.
5.Custom validator-U can call ur javascript function.
6.Summary validation-is' showing summary of all validations

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is owin authentication?

520


What is a master page and what does it do?

539


Can we have multiple web config files for an asp.net application?

539


Describe the .net base class library.

537


What's the use of formatters in .net?

576






Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

1723


What is server components?

540


Can we override the enablepartialrendering property of the scriptmanager class?

646


Is asp.net mvc still used? : Asp.Net MVC

516


What do you understand by aggregate dependency?

618


Is it right that ASP.NET Web API has replaced WCF?

512


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

1733


What r the asp.net list controls and diff. Between them?

510


What is the use of ASP.NET routing?

562


What is viewstate in asp net with example?

527