TRequiredListValidator checks the number of selection and their values for a TListControl that allows multiple selection. This validator will only work for the components with the name attribute ending with "[]".
You can specify the minimum or maximum (or both) number of selections required using the <tt>MinSelection</tt> and <tt>MaxSelection</tt> properties, respectively. In addition, you can specify a comma separated list of required selected values via the <tt>RequiredSelections</tt> property.
Namespace: System.Web.UI.WebControls
Properties
MinSelection, integer, kept in viewstate
Gets or sets the minimum number of selections required.
MaxSelection, integer, kept in viewstate
Gets or sets the maximum number of selections required.
RequiredSelections, string, kept in viewstate
Gets or sets the comma separated list of required values
to be selected.
Set the anchor ID for the error message link. If the value is "true" then the ID of the ControlToValidate will be used otherwise the given value will be used as the anchor.