ComponentOne AppView for ASP.NET WebForms
Working with the Client-Side / Client-Side Events
In This Topic
    Client-Side Events
    In This Topic

    AppView for ASP.NET Web Forms includes several client-side events that allow you to manipulate the C1AppView controls when an action such as resizing the dialog window occurs.

    You can use the server-side properties, listed in the Client Side Event table, to specify the name of the JavaScript function that will respond to a particular client-side event. For example, to assign a JavaScript function called "pagechange" to respond when the C1AppViewPage is changed, you would set the OnClientPageChange property to "pagechange".

    The following table lists the events that you can use in your client scripts. These properties are defined on the server side, but the actual events of the name you declare for each JavaScript function are defined on the client side.

    Event Server-Side
    Property Name
    Event Name Description
    OnClientPageBeforeChanged pagebeforechanged Occurs before the page is changed.
    OnClientPageBeforeLoad pagebeforeload Occurs before the page loads.
    OnClientPageChange pagechange Occurs when the page changes.
    OnClientPageChangeFailed pagechangefailed Occurs when the page change fails.
    OnClientPageLoad pageload Occurs when the page loads.
    OnClientPageLoadFailed pageloadfailed Occurs when the page load fails.