Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / AutoPostBack Property
Example


In This Topic
    AutoPostBack Property (SheetView)
    In This Topic
    Gets or sets whether a postback to the server automatically occurs when the user interacts with the sheet.
    Syntax
    'Declaration
     
    Public Property AutoPostBack As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.AutoPostBack = value
     
    value = instance.AutoPostBack
    public bool AutoPostBack {get; set;}

    Property Value

    Boolean: true to specify an automatic postback; false otherwise
    Remarks
    This property determines whether the component automatically posts back data to the server based on interaction by the user. Setting AutoPostBack to True disables client script (EnableClientScript = False).
    Example
    This example specifies that a postback to the server occurs automatically when the user interacts with the sheet.
    FarPoint.Web.Spread.SheetView sv;
    sv = FpSpread1.ActiveSheetView;
    sv.AutoPostBack = true;
    
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.AutoPostBack = True
    See Also