Spread for ASP.NET 11 Product Documentation
AutoPostBack Property (CheckBoxCellType)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CheckBoxCellType Class : AutoPostBack Property
Gets or sets whether the component automatically posts back when clicked.
Syntax
'Declaration
 
Public Property AutoPostBack As Boolean
'Usage
 
Dim instance As CheckBoxCellType
Dim value As Boolean
 
instance.AutoPostBack = value
 
value = instance.AutoPostBack
public bool AutoPostBack {get; set;}

Property Value

Boolean: true for automatic postback; false otherwise
Remarks

This property determines whether the component automatically posts back data to the server based on interaction by the user.

Example
This example uses a check box to force a postback.
FarPoint.Web.Spread.CheckBoxCellType c = new FarPoint.Web.Spread.CheckBoxCellType();
c.AutoPostBack = true; 
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
Dim c As New FarPoint.Web.Spread.CheckBoxCellType
c.AutoPostBack = True 
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c
See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members