PowerWEB File Upload for ASP.NET
AutoPostBack Property
See Also  Send comments on this topic.
Dart.FileUpload Namespace > Upload Class : AutoPostBack Property



When true, the control will immediately initiate an upload as soon as a file is selected within the file dialog.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DartDescriptionAttribute("When set to true, the control will immediately initiate an upload as soon as a file is selected within the file dialog.")>
<DefaultValueAttribute()>
Public Property AutoPostBack As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Upload
Dim value As Boolean
 
instance.AutoPostBack = value
 
value = instance.AutoPostBack
C# 
[CategoryAttribute("Behavior")]
[DartDescriptionAttribute("When set to true, the control will immediately initiate an upload as soon as a file is selected within the file dialog.")]
[DefaultValueAttribute()]
public bool AutoPostBack {get; set;}
C++/CLI 
[CategoryAttribute("Behavior")]
[DartDescriptionAttribute("When set to true, the control will immediately initiate an upload as soon as a file is selected within the file dialog.")]
[DefaultValueAttribute()]
public:
property bool AutoPostBack {
   bool get();
   void set (    bool value);
}

Property Value

The default value is true.

Remarks

If false, the form must be submitted for the upload to occur.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.3
© 2012 Dart Communications. All Rights Reserved.