| Author |
|
| Company |
Ontranet |
| Source Code Available |
No |
| License Type |
Free |
| Submitted On |
November 20, 2005 |
| Updated on |
July 25, 2007 |
| .NET Framework |
1.x |
| Cost |
$ 0 |
Description
Validates a group of RadioButtons
The controls <asp:radiobuttonlist> and <asp:checkboxlist> makes grouping and validation of items very easy.
But sometimes you need a list of either <asp:RadioButton> or <asp:CheckBox>, so you can control design and layout issues, have no pre-selection of items and validate the controls as a group.
This validation control mimics the behavior of the <asp:RequiredFieldValidator> and makes it possible to validate <asp:RadioButton> or <asp:CheckBox> as a group, and ensures that the user makes a selection before continuing.
Syntax Example
<Ontranet:RadioButtonValidator id="RadioButtonValidator1" runat="server" GroupName="group1" ErrorMessage="Please select a RadioButton"></Ontranet:RadioButtonValidator>Screenshots
Reviews
Submit a review
Nice one
Reviewed by: ontranet on Tuesday, August 08, 2006
5 Stars
Works like a charm