TemplateControlIsValid Property

This read-only property can be overridden to allow querying of a row to see if it is valid

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public virtual bool IsValid { get; }

Property Value

Boolean
Returns true if valid, false if not. By default, it invokes the control's OnValidating(CancelEventArgs) and Validated events.

Remarks

This is useful in situations where the normal validating events are fired after certain other events (i.e. tree view and data grid item selection events). This property is called on the current row by DataList.IsValid.

See Also