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

Represents a various validation setting of RadListView control

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

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

Inheritance: objectObjectWithStateRadListViewValidationSettings

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

Constructors

C#
public RadListViewValidationSettings(StateBag ownerStateBag, RadListView ownerListView)
Parameters:ownerStateBagStateBagownerListViewRadListView

Properties

Gets or sets the commands to validate representing comma delimited list of command names.

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

The commands to validate representing comma delimited list of command names.

Gets or sets a value that indicates whether a validator control will handle exceptions that occur during insert or update operations.

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

A value that indicates whether a validator control will handle exceptions that occur during insert or update operations.

Gets or sets a value that specifies whether validation is performed when the editor is set to validate when a postback occurs.

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

A value that specifies whether validation is performed when the editor is set to validate when a postback occurs.

Gets or sets the group of controls for which the RadListView control causes validation when it posts back to the server.

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

The group of controls for which the RadListView control causes validation when it posts back to the server..

Methods

C#
protected virtual bool ShouldSerializeCommandsToValidate()
Returns:

bool