Define the steps to set up validation control.



Define the steps to set up validation control...

Answer / Ashok Kumar Ray

Setting up validation controls in ASP.NET involves the following steps:
1. Add a validation control (such as RequiredFieldValidator, RangeValidator, or RegularExpressionValidator) to your form.
2. Configure the properties of the validation control according to your validation requirements.
3. Associate the validation control with a server-side control by setting the ControlToValidate property.
4. Optionally, use Cascading Style Sheets (CSS) to style the validation messages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

how to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


To load your generated dataset with data which method do you invoke?

1 Answers   Siebel,


What are the new data controls in asp.net 2.0?

1 Answers  


Explain asp.net page life cycle?

1 Answers  


What are the main components of the ADO object model? How are they used?

2 Answers   HCL, Syntax Softtech,


Where is asp.net view state stored?

1 Answers  


Explain managed code an un-managed code.

1 Answers  


Are cookies client side or server side?

1 Answers  


What is the difference between localization and globalization?

1 Answers  


What's the ASP.Net Application life cycle?

1 Answers   Wipro,


Explain what a diffgram is, and a good use for one?

2 Answers  


What are the properties of the eventargs argument when capturing keyboard events?

1 Answers  


Categories