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

Name two properties common in every validation control?

1 Answers  


i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?

0 Answers   Wipro,


What are the 4 tenants of SOA/D.

1 Answers  


can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?

0 Answers  


How can we update records in gridview?Is there any appropriate code for it?

0 Answers  


Differentiate between a page theme and a global theme?

0 Answers  


Details on web.config and global.asax - just explain what are the sections will be there.

1 Answers   Syntel,


How do cookies work?

0 Answers  


Define cookie.

0 Answers  


Explain the difference between AutoPostBack and IspostBack in ASP.NET?

0 Answers   Sans Pareil IT Services,


How to turn off cookies for a page?

0 Answers  


Can we use a static function with a non-static variable?

0 Answers  


Categories