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

when u enter the data in one text box once u completed entering the text box data then one page has to be popuped and the text has to be displayed in the parent page

1 Answers  


How many Language support in ASP.NET?

11 Answers   TCS,


What is Difference between Application object and Session Object

5 Answers  


What is Pre-Render event in ASP.NET?

0 Answers   MindCracker,


How to limit table cell size with long strings?

1 Answers   IBS,


What are the disadvantages of view state?

0 Answers  


what is usercontrol how we can use acess the controls that are present in the usercontrol in the aspx page suppose we have 2 text boxes in a user control how u can acess the 2 textboxs in the aspx page

1 Answers  


Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,


What is the difference between page directive include and action tag include?

0 Answers  


Which namespace do the classes, allowing you to support COM functionality, are located?

1 Answers  


What is the basic difference between asp and asp.net?

0 Answers  


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

0 Answers   HCL,


Categories