ComponentOne ProgressBar for ASP.NET AJAX: Client-Side Functionality > Client-Side Events

Client-Side Events

C1ProgressBar 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.

Once you've added the client-side handler, Visual Studio will add a script to the Source view. That script will resemble the following:

 

<script id="ComponentOneClientScript" type="text/javascript">

function C1ProgressBar1_OnClientMouseOver(){

  //

  // Put your code here.

  //

};

</script>

 

The following provides names and descriptions of C1ProgressBar’s client-side events:

 

Client-Side Event

Description

OnClientBeforeProgressChanging

Raised before the value of the progress bar changes.

OnClientClick

Raised when the progress bar has been clicked.

OnClientMouseDown

Raised when the mouse is down on the progress bar.

OnClientMouseOut

Raised when the mouse leaves the progress bar.

OnClientMouseOver

Raised then the mouse is over the progress bar.

OnClientMouseUp

Raised when the mouse is up on the progress bar.

OnClientProgressChanged

Raised when the value of the progress bar has been changed.

OnClientProgressChanging

Raised when the value of the progress bar is changing.


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