The class containing properties associated with the columns' validation base on autogenerated validators.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridColumnValidationSettings : ObjectWithState, IDisposable
Inheritance: objectObjectWithStateGridColumnValidationSettings
Implements:
Inherited Members
Constructors
public GridColumnValidationSettings(StateBag OwnerStateBag, GridColumn owner)
Properties
Gets or sets whether ModelErrorMessage control will be generated next to the column editor.
public bool EnableModelErrorMessageValidation { get; set; }
Gets or sets whether RequiredFieldValidator control will be generated next to the column editor.
public bool EnableRequiredFieldValidation { get; set; }
Gets the ModelErrorMessage control which will be generated next to the column editor.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ModelErrorMessage ModelErrorMessage { get; }
Gets or sets whether RequiredFieldValidator control will be rendered before or after the column editor.
public bool RenderValidatorBeforeEditor { get; set; }
Gets the RequiredFieldValidator control which will be generated next to the column editor.
[PersistenceMode(PersistenceMode.InnerProperty)]
[SuppressMessage("Microsoft.Usage", "CA2213:DisposableFieldsShouldBeDisposed")]
public RequiredFieldValidator RequiredFieldValidator { get; }
Methods
Clean up used resources.
public void Dispose()
Implements: