ComponentOne Window for ASP.NET AJAX: Working with Client-Side Script in Window for ASP.NET AJAX > Client-Side Events

Client-Side Events

C1Window includes a rich client-side object model in which includes several client-side events. You can access these client-side events from the Properties window. To create a new client-side event, select the drop-down arrow next to a client-side event and select Add new client side handler.

 

 

A placeholder for the client-side event will be added in the Source view. The placeholder will appear similar to the following:

function C1Window1_OnClientActivated(sender, e){

  //

  // Put your code here.

  //

};

Available Client-Side Events

The following table names and describes the built-in client-side events available for your use:

 

Client-Side Event

Description

OnClientActivated

Gets or sets the name of the client-side function that should be fired on the client side after the dialog window is activated.

OnClientButtonClicked

Gets or sets the name of the client-side function that should be fired on the client side when one of the caption buttons is clicked after the dialog window handles the operation.

OnClientButtonClicking

Gets or sets the name of the client-side function that should be fired on the client side when one of the caption buttons is clicked before the dialog window handles the operation. 

OnClientDeactivated

Gets or sets the name of the client-side function that should be fired on the client side after the dialog window is deactivated. 

OnClientDragEnd

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window exits dragging mode. 

OnClientDragging

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is being dragged. 

OnClientDragStart

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window enters dragging mode.

OnClientHidden

Gets or sets the name of the client-side function that should be fired on the client side after the dialog window is hidden. 

OnClientMaximized

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is maximized after the dialog window handles the operation.

OnClientMaximizing

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is maximized before the dialog window handles the operation. 

OnClientMinimized

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is minimized after the dialog window handles the operation.

OnClientMinimizing

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is minimized before the dialog window handles the operation. 

OnClientNormalized

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is normalized after the dialog window handles the operation.

OnClientNormalizing

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is normalized before the dialog window handles the operation.

OnClientPinned

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is pinned after the dialog window handles the operation.

OnClientPinning

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is pinned before the dialog window handles the operation.

OnClientReloaded

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window content is reloaded after the dialog window handles the operation.

OnClientReloading

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window content is reloaded before the dialog window handles the operation.

OnClientResizeEnd

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window exits resizing mode.

OnClientResizeStart

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window enters resizing mode.

OnClientResizing

Gets or sets the name of the client-side function that should be fired on the client side when the dialog window is being resized.

OnClientShown

Gets or sets the name of the client-side function that should be fired on the client side after the dialog window is shown.

 

For more information, see the Window for ASP.NET AJAX Client-Side Reference.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.