adspace


Define the steps to set up validation control.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.

1893


What do you mean by query string?

1015


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1715