ASP.NET Core MVC Controls | ComponentOne
Client- Side API Reference / ErrorEventArgs Class
In This Topic
    ErrorEventArgs Class
    In This Topic
    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
    • errors: string[]

      The errors from server side.

    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