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

Client-Side Events

C1TabStrip 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 C1TabStrip1_OnClientAfterTabSelect(){

  //

  // Put your code here.

  //

};

</script>

 

The following provides names and descriptions of C1TabStrip's client-side events:

                       

Client-Side Event

Description

OnClientAfterTabSelect

Fires on client side after a tab is selected.

OnClientBeforeTabSelect

Fires on client side before a tab is selected.

OnClientTabMouseEnter

Fires on client side when the mouse hovers over a tab.

OnClientTabMouseOut

Fires on client side when the mouse stops hovering over a tab.

OnClientTabUnSelect

Fires on client side when a tab is unselected.


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