ValidatedControlConverter.FilterControl(Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET