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

Difference between datareader and dataset ?

4 Answers   Microsoft,


Take one textbox if I am inputting abc alphabet in capital letter or in small letter on the button click it will be bcd or if I enter 123 and it would be 234 like that in ASP.NET?

3 Answers   DNS,


What is the difference between runtime version and version?

0 Answers  


To display data in a Repeater control which templete is provided ?

4 Answers   Siebel,


What is __ requestverificationtoken?

0 Answers  






What do you mean by marshalbyref?

0 Answers  


What is difference between URL and URI?

0 Answers   MCN Solutions,


About CLS and CTS?

8 Answers   Microsoft, Syncfusion,


What are runtime hosts?

2 Answers   Microsoft,


Explain the use of dataadapter.

0 Answers  


what are partial classes and their use?

1 Answers   Patni,


Can you create an app domain ?

1 Answers  


Categories