Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.