I made a test using the following code and it works fine.
- <script runat="server">
-
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
-
- PersistedFile1.FileChanged += new PersistedFileEventHandler(PersistedFile_FileUploaded);
- }
-
- void PersistedFile_FileUploaded(object sender, PersistedFileEventArgs args)
- {
- InsertMsg("File is changed! " + args.FileName + ", " + args.FileSize + " bytes.");
-
- args.CopyTo("c:\\temp\\" + args.FileName);
-
-
- }
- </script>
-
- <CuteWebUI:UploadPersistedFile AutoUseSystemTempFolder="false" runat="server" ID="PersistedFile1" InsertText="Upload File">
- <VALIDATEOPTION MaxSizeKB="10240" />
- </CuteWebUI:UploadPersistedFile>
Please try it and if you still have problems download the control again.
Keep me posted
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