ValidatedControlConverter.FilterControl(Control) Method

Definition

Returns a value indicating whether the specified control should be added to the list of controls that can be validated.

protected:
 override bool FilterControl(System::Web::UI::Control ^ control);
protected override bool FilterControl (System.Web.UI.Control control);
override this.FilterControl : System.Web.UI.Control -> bool
Protected Overrides Function FilterControl (control As Control) As Boolean

Parameters

control
Control

The control to check.

Returns

true if the control should be added to the list of controls that can be validated; otherwise, false.

Remarks

When the FilterControl method returns true, the ValidatedControlConverter instance will add the ID of the control specified in the control parameter to the TypeConverter.StandardValuesCollection returned by the GetStandardValues method.

Applies to