HomeCommunityControl GalleryForm ControlsValidation ControlsRadioButton Validation

RadioButton Validation



(3) Submit a Review

1,953 Downloads

21,068 Views


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

&lt;Ontranet:RadioButtonValidator id=&quot;RadioButtonValidator1&quot; runat=&quot;server&quot; GroupName=&quot;group1&quot; ErrorMessage=&quot;Please select a RadioButton&quot;&gt;&lt;/Ontranet:RadioButtonValidator&gt;

Screenshots

Reviews

Submit a review

Waste of time

Reviewed by: philsando on Tuesday, January 18, 2011

1 Stars

You just end up in a loop on the creators site. This should be removed. Waste of time.

Not Working

Reviewed by: khyatik on Thursday, September 09, 2010

1 Stars

Not able to download the demo as the "Try it live" is not working

Nice one

Reviewed by: ontranet on Tuesday, August 08, 2006

5 Stars

Works like a charm