Spread for ASP.NET 10 Product Documentation
AutoPostBack Property (ComboBoxEditor)
Example 


Gets or sets whether the component automatically posts back when clicked.
Syntax
'Declaration
 
Public Property AutoPostBack As Boolean
'Usage
 
Dim instance As ComboBoxEditor
Dim value As Boolean
 
instance.AutoPostBack = value
 
value = instance.AutoPostBack
public bool AutoPostBack {get; set;}

Property Value

Boolean: true to automatically post back; 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 combo box editor to force a postback.
FarPoint.Web.Spread.Editor.ComboBoxEditor ce = new FarPoint.Web.Spread.Editor.ComboBoxEditor(New String[] {"One", "Two", "Three"});
ce.AutoPostBack = true; 
FpSpread1.ActiveSheetView.Cells[0, 0].Editor = ce;
Dim ce As New FarPoint.Web.Spread.Editor.ComboBoxEditor(New String() {"One", "Two", "Three"})
ce.AutoPostBack = True 
FpSpread1.ActiveSheetView.Cells(0, 0).Editor = ce
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ComboBoxEditor Class
ComboBoxEditor Members

 

 


Copyright © GrapeCity, inc. All rights reserved.