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


FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > AjaxComboBoxCellType Class : AutoPostBack Property
Gets or sets whether the control should automatically post back when clicked. This property only has an effect when the ShowEditor property is true.
Syntax
'Declaration
 
Public Property AutoPostBack As Boolean
'Usage
 
Dim instance As AjaxComboBoxCellType
Dim value As Boolean
 
instance.AutoPostBack = value
 
value = instance.AutoPostBack
public bool AutoPostBack {get; set;}
Example
This example sets the AutoPostBack property.
FarPoint.Web.Spread.Extender.AjaxComboBoxCellType combo = new FarPoint.Web.Spread.Extender.AjaxComboBoxCellType();
combo.BackColor = System.Drawing.Color.Aquamarine;
combo.AutoCompleteMode = AjaxControlToolkit.ComboBoxAutoCompleteMode.Append;
combo.ShowEditor = true;
combo.DropDownStyle = AjaxControlToolkit.ComboBoxStyle.DropDown;
combo.ItemInsertLocation = AjaxControlToolkit.ComboBoxItemInsertLocation.OrdinalText;
combo.Items.Add("test");
combo.Items.Add("second");
combo.CaseSensitive = true;
combo.AutoPostBack = true;
FpSpread1.Sheets[0].Cells[0, 0].CellType = combo;
Dim combo As New FarPoint.Web.Spread.Extender.AjaxComboBoxCellType()
combo.BackColor = System.Drawing.Color.Aquamarine
combo.AutoCompleteMode = AjaxControlToolkit.ComboBoxAutoCompleteMode.Append
combo.ShowEditor = True
combo.DropDownStyle = AjaxControlToolkit.ComboBoxStyle.DropDown
combo.ItemInsertLocation = AjaxControlToolkit.ComboBoxItemInsertLocation.OrdinalText
combo.Items.Add("test")
combo.Items.Add("second")
combo.CaseSensitive = True
combo.AutoPostBack = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = combo
See Also

Reference

AjaxComboBoxCellType Class
AjaxComboBoxCellType Members