FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ButtonCellType Class : OnClientClick Property |
'Declaration Public Property OnClientClick As String
'Usage Dim instance As ButtonCellType Dim value As String instance.OnClientClick = value value = instance.OnClientClick
public string OnClientClick {get; set;}
FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType(); btn.OnClientClick = "alert(\'You clicked the button\');"; FpSpread1.ActiveSheetView.Cells[1, 1].CellType = btn;
Dim btn As New FarPoint.Web.Spread.ButtonCellType btn.OnClientClick = "alert('You clicked the button');" FpSpread1.ActiveSheetView.Cells(1, 1).CellType = btn
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