Spread for ASP.NET 7.0 Product Documentation
AutoPostBack Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Editor Namespace > ComboBoxEditor Class : AutoPostBack Property


Glossary Item Box

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 ComboBoxEditor
Dim value As Boolean
 
instance.AutoPostBack = value
 
value = instance.AutoPostBack
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.