Visual Basic (Declaration) | |
---|---|
<ToolboxDataAttribute("<{0}:Upload runat=server></{0}:Upload>")> <DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.FileUpload.UploadDesigner, Dart.FileUpload, Version=4.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb")> Public Class Upload Inherits System.Web.UI.WebControls.WebControl Implements ILiveControl |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Upload |
C# | |
---|---|
[ToolboxDataAttribute("<{0}:Upload runat=server></{0}:Upload>")] [DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.FileUpload.UploadDesigner, Dart.FileUpload, Version=4.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] public class Upload : System.Web.UI.WebControls.WebControl, ILiveControl |
C++/CLI | |
---|---|
[ToolboxDataAttribute("<{0}:Upload runat=server></{0}:Upload>")] [DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.FileUpload.UploadDesigner, Dart.FileUpload, Version=4.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] public ref class Upload : public System.Web.UI.WebControls.WebControl, ILiveControl |
Set Upload.AutoPostback to true for uploads to begin immediately after files are selected. Set the property to false to require a form submission.
Use of the Upload control requires the presence of an UploadManager control on the webform. Set the UploadManager properties to configure file upload behavior.
Use the ProgressPanel to display information on uploads as they happen.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Dart.FileUpload.Upload
Target Platforms: Microsoft .NET Framework 2.0