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 css and what is it used for?

730


What is a SESSION and APPLICATION object?

767


Define web services in asp.net.

746


What does the hotspot class in .net do?

745


When does a session actually start?

756


Describe the disadvantage of cookies.

765


How does session authentication work?

687


Does web services support data reader like pom project?

694


How you can stop the validation of ASP.NET controls from client side?

748


Is session server side or client side?

699


What are the new navigation controls in asp.net 2.0?

742


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1707


To bind columns manually which tags do you need to add within the asp:datagrid ?

740


What are triggers of an updatepanel?

718


What are Authentication and Authorization?

827