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

Container of misc. grouping settings of RadGrid control

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridValidationSettings : ObjectWithState

Inheritance: objectObjectWithStateGridValidationSettings

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

Constructors

C#
public GridValidationSettings(StateBag OwnerStateBag, RadGrid owner)
Parameters:OwnerStateBagStateBagownerRadGrid

Properties

Gets or sets a commands list of commands names which will be validated.

C#
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(GridStringArrayConverter))]
public virtual string[] CommandsToValidate { get; set; }
Property Value:

The commands list of command names to be validate.

C#
public bool EnableModelValidation { get; set; }

Gets or sets a value indicating of the validation is enabled.

C#
public bool EnableValidation { get; set; }
Property Value:

A value indicating of the validation is enabled.The enable validation.

Gets or sets the validation group.

C#
public string ValidationGroup { get; set; }
Property Value:

The validation group.

Methods

C#
protected virtual bool ShouldSerializeCommandsToValidate()
Returns:

bool