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 data types do the RangeValidator control support?

2 Answers  


what is the MSIL assembler do?

1 Answers  


What are different types of api?

0 Answers  


what is client-server architecture in .net? and what is 3-tier architecture?

1 Answers  


Define application state variable and session state variable?

0 Answers   UGC Corporation,






How to store a dataset in a viewstate?

3 Answers   Patni,


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

0 Answers  


Define asp.net caching?

0 Answers  


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

0 Answers  


Why SessionID changes in every request in asp.net?

0 Answers   HCL,


What is strong name and which tool is used for this ?

3 Answers   Patni,


How connect data into DropDownList from Aceess Table?

1 Answers   HCL, TCS,


Categories