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

Why do we need url encoding?

0 Answers  


Describe the master page.

0 Answers  


What is the difference between response.redirect and server.transfer, how to choose one among the other?

3 Answers   247Customer,


What are the security types in ASP/ASP.NET? Different Authentication modes?

0 Answers  


What are the two properties that are common in every validation control?

4 Answers   Siebel,






What is mvc structure? given example? How to show gridview control from business components and using class object arrays?

3 Answers  


What is viewstategenerator?

0 Answers  


What is early binding and Late binding. Difference which is better ?

2 Answers   DELL,


What Is ASPNET_WP.exe? What Is The Use Of It? In Which Place Inproc Session Stored ? Explain Session State ?

2 Answers   Phoenix Technologies,


How long the items in ViewState exists?

0 Answers   SwanSoft Technologies,


What is slidemaster?

0 Answers  


What is the difference between pathparam and queryparam?

0 Answers  


Categories