Gets or sets whether the component automatically posts back when clicked.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AutoPostBack As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As CheckBoxEditor
Dim value As Boolean
instance.AutoPostBack = value
value = instance.AutoPostBack |
C# | |
---|
public bool AutoPostBack {get; set;} |
Property Value
true to automatically post back;
false otherwise
Remarks
Example
This example uses a check box editor to force a postback.
C# | Copy Code |
---|
FarPoint.Web.Spread.Editor.CheckBoxEditor ce = new FarPoint.Web.Spread.Editor.CheckBoxEditor();
ce.AutoPostBack = true;
FpSpread1.ActiveSheetView.Cells[0, 0].Editor = ce;
|
Visual Basic | Copy Code |
---|
Dim ce As New FarPoint.Web.Spread.Editor.CheckBoxEditor
ce.AutoPostBack = True
FpSpread1.ActiveSheetView.Cells(0, 0).Editor = ce |
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