ComponentOne ASP.NET MVC Controls
ErrorEventArgs Class
File
c1.mvc.collections.js
Module
c1.mvc.collections
Base Class
CancelEventArgs

Provides arguments for error events.

Constructor

Properties

Methods

Events

Constructor

constructor

constructor(errors: string[]): ErrorEventArgs

Initializes a new instance of the ErrorEventArgs class.

Parameters
Returns
ErrorEventArgs

Properties

cancel

Gets or sets a value that indicates whether the event should be canceled.

Inherited From
CancelEventArgs
Type
boolean

errors

Gets or sets the errors from server side.

Type
string[]

Methods

 

Static cast
cast(obj: any): ErrorEventArgs

Casts the specified object to ErrorEventArgs type.

Parameters
Returns
ErrorEventArgs

Events

 

Static empty

Provides a value to use with events that do not have event data.

Inherited From
EventArgs
Arguments
EventArgs