It works for me.
I am using the following code:
- <%@ Page Language="VB" %>
- <script runat="server">
- Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs)
- MyBase.OnInit(e)
- AddHandler Uploader1.FileUploaded, AddressOf Uploader_FileUploaded
- Dim sUploadTempPath As String = System.Configuration.ConfigurationManager.AppSettings("FileUploadTempPath")
- If sUploadTempPath <> "" Then
- Uploader1.TempDirectory = sUploadTempPath
- Uploader1.AutoUseSystemTempFolder = False
- Else
- Uploader1.AutoUseSystemTempFolder = True
- End If
- End Sub
-
- Private Sub Uploader_FileUploaded(ByVal sender As Object, ByVal args As UploaderEventArgs)
- Dim uploader As Uploader = DirectCast(sender, Uploader)
- 'Copys the uploaded file to a new location.
- 'args.CopyTo("c:\\temp\\"& args.FileName)
- End Sub
- </script>
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <body>
- <form id="form1" runat="server">
- <CuteWebUI:Uploader runat="server" ID="Uploader1" MultipleFilesUpload="true"></CuteWebUI:Uploader>
- </form>
- </body>
- </html>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx