Tuesday 31 January 2012

ASP.NET Validation Control with Example( Server Controls)

RequiredFieldValidation:
-------------------------------------------


The Required Field is use when you want to make sure that  there is a value for control before the page is submitted to the server.

It mean Server control should not be left blank..it should not keep blank.




Properties:

 

ControlToValidate: This property is used to specify the id of control which server control is validate with validation control.

 

Display: Values for this property is 1)None 2)Static  3)Dynamic

 

















Share This
Previous Post
Next Post

0 Comments: