New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

The class containing properties associated with the columns' validation base on autogenerated validators.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridColumnValidationSettings : ObjectWithState, IDisposable

Inheritance: objectObjectWithStateGridColumnValidationSettings

Implements: IDisposable

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridColumnValidationSettings(StateBag OwnerStateBag, GridColumn owner)
Parameters:OwnerStateBagStateBagownerGridColumn

Properties

Gets or sets whether ModelErrorMessage control will be generated next to the column editor.

C#
public bool EnableModelErrorMessageValidation { get; set; }

Gets or sets whether RequiredFieldValidator control will be generated next to the column editor.

C#
public bool EnableRequiredFieldValidation { get; set; }

Gets the ModelErrorMessage control which will be generated next to the column editor.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ModelErrorMessage ModelErrorMessage { get; }

Gets or sets whether RequiredFieldValidator control will be rendered before or after the column editor.

C#
public bool RenderValidatorBeforeEditor { get; set; }

Gets the RequiredFieldValidator control which will be generated next to the column editor.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[SuppressMessage("Microsoft.Usage", "CA2213:DisposableFieldsShouldBeDisposed")]
public RequiredFieldValidator RequiredFieldValidator { get; }

Methods

Clean up used resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool