Explain how server control validation controls works?

Answers were Sorted based on User's Feedback



Explain how server control validation controls works?..

Answer / swapna

To perform server side validation we have an event
called ?ServerValidate?.
Syntax:
ValidationControlName_ServerValidate(s, args)
{
?..//Logic
}

Is This Answer Correct ?    7 Yes 0 No

Explain how server control validation controls works?..

Answer / 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

More ASP.NET Interview Questions

What are cao and sao.

0 Answers  


What does setting a control's EnableViewState property to false accomplish?

1 Answers  


Explain how dot net compiled code will become platform independent?

0 Answers  


How do you change the session time-out value?

0 Answers   TryTechnicals Pvt Ltd,


What are the Types of chaching. How to implement caching

0 Answers   Microsoft,






Where is cookie used in asp.net?

0 Answers  


What are assemblies and namespaces and explain the difference between them ?

0 Answers  


How can I configure asp.net applications that are running on a remote machine?

0 Answers  


How can you access the properties and controls of master pages from content pages?

0 Answers  


is it possible to persiste customize object in view state? how it is?

2 Answers  


Give a few examples of page life cycle events.

0 Answers   Accenture,


What are custom controls?

0 Answers  


Categories