Spread for ASP.NET 9.0 Product Documentation
OnClientChanged Property (ComboBoxCellType)
Example 


Gets or sets the OnClientChanged event settings of the cell.
Syntax
'Declaration
 
Public Property OnClientChanged As String
'Usage
 
Dim instance As ComboBoxCellType
Dim value As String
 
instance.OnClientChanged = value
 
value = instance.OnClientChanged
public string OnClientChanged {get; set;}

Property Value

String containing the client-side changed event settings
Example
This example sets the OnClientChanged property.
FarPoint.Web.Spread.ComboBoxCellType ctest = new FarPoint.Web.Spread.ComboBoxCellType();
string[] cbstr;
cbstr = new String[] { "One", "Two", "Three" };
ctest.Items = cbstr;
ctest.OnClientChanged = "alert(\'You selected the item\');";
FpSpread1.Sheets[0].Cells[0, 0].CellType = ctest;
Dim ctest As New FarPoint.Web.Spread.ComboBoxCellType
Dim cbstr As String()
cbstr = New String() {"One", "Two", "Three"}
ctest.Items = cbstr
ctest.OnClientChanged = "alert('You changed the item');"
FpSpread1.Sheets(0).Cells(0, 0).CellType = ctest
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

ComboBoxCellType Class
ComboBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.