Spread ASP.NET 6.0 Product Documentation
OnClientChanged Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ComboBoxCellType Class : OnClientChanged Property


Glossary Item Box

Gets or sets the OnClientChanged event settings of the cell.

Syntax

Visual Basic (Declaration) 
Public Property OnClientChanged As String
Visual Basic (Usage)Copy Code
Dim instance As ComboBoxCellType
Dim value As String
 
instance.OnClientChanged = value
 
value = instance.OnClientChanged
C# 
public string OnClientChanged {get; set;}

Property Value

String containing the client-side changed event settings

Example

This example sets the OnClientChanged property.
C#Copy Code
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;
Visual BasicCopy Code
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.