aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.
You can also add client-side validation to check user input before the page is submitted by writing a function in ECMAScript (Java Script) that duplicates the logic of the server-side method.
There are lots of way to validate a check box and here you will find out some of them. Now you have two kinds of Check Box Required Field Validator.
When you run the page and click one of the buttons, you will see that the checkbox will have a Required Field Validator. But it works only on serversde, requiring a postback to use it.
If we get the user input with validation, then chances are that we are sending the wrong data.
Whenever the user gives the input, it must always be validated before sending it across to various layers of an application.
NET validation controls define an important role in validating the user input data.
Here is an example of the HTML that would be rendered by a Check Box List with a layout of “Flow”.
Using this class as my selection, I’m able to have multiple groups of controls wrapped in a FIELDSET validated separately.