Gets or sets whether the control should automatically post back when clicked. This property only has an effect when the ShowButton property is true.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AutoPostBack As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ComboBoxCellType
Dim value As Boolean
instance.AutoPostBack = value
value = instance.AutoPostBack |
C# | |
---|
public bool AutoPostBack {get; set;} |
Property Value
Boolean:
true for automatic postback;
false otherwise
Remarks
Example
This example uses a combo box to force a postback.
C# | Copy Code |
---|
FarPoint.Web.Spread.ComboBoxCellType c = new FarPoint.Web.Spread.ComboBoxCellType(new String[] {"One", "Two", "Three"});
c.AutoPostBack = true;
c.ShowButton = true;
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c;
|
Visual Basic | Copy Code |
---|
Dim c As New FarPoint.Web.Spread.ComboBoxCellType(New String() {"One", "Two", "Three"})
c.AutoPostBack = True
c.ShowButton = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c |
Requirements
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
See Also