Spread for ASP.NET 8.0 Product Documentation
OnClientClick Property (CheckBoxCellType)
Example 


Gets or sets the OnClientClick event settings of the cell.
Syntax
'Declaration
 
Public Property OnClientClick As String
'Usage
 
Dim instance As CheckBoxCellType
Dim value As String
 
instance.OnClientClick = value
 
value = instance.OnClientClick
public string OnClientClick {get; set;}
Example
This example sets the OnClientClick property.
FarPoint.Web.Spread.CheckBoxCellType check = new FarPoint.Web.Spread.CheckBoxCellType();
check.OnClientClick = "alert(\'You clicked the cell\');";
FpSpread1.Sheets[0].Cells[1, 1].CellType = check;

Dim check As New FarPoint.Web.Spread.CheckBoxCellType()
check.OnClientClick = "alert('You clicked the cell');"
FpSpread1.Sheets(0).Cells(0, 0).CellType = check

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.