Identical to the C# Single File demo, in VB.NET. The control, events and services are the
same assembly - only the language syntax differs, and it does so mechanically for every sample in this DemoApp.
What you should see: select a file and it uploads, posts back automatically, and the green strip names the saved path under ~/uploads - the same zero-click flow as the C# version.
Drag & drop files here, or paste from clipboard
Nothing saved yet - select a file and it is saved to ~/uploads automatically.
<au:AjaxFileUpload ID="Uploader1" runat="server"
AutoUpload="true"
AutoPostBack="true"
OnFileUploaded="Uploader1_FileUploaded" />
Protected Sub Uploader1_FileUploaded(ByVal sender As Object,
ByVal e As AjaxUploader.Events.FileUploadedEventArgs)
Dim svc As New AjaxUploader.Services.UploadService()
svc.CopyFile(e.FileGuid, "~/uploads/" & e.FileName)
End Sub