Jul 11, 2012, 3:42 PM
[CLOSED] FileUploadField doesn't work as should
Hi,
what I tryed to do today was upload file to my server path. fuFileUpload is a
It's seems to be a bug. Please let me know if it's work with above example and what should I changed to make this work with ext.net.FileUploadField.
Thanks,
ViDom
what I tryed to do today was upload file to my server path. fuFileUpload is a
<ext:FileUploadField runat="server" ID="fuFileUpload"/>
I did this in my saving logic: byte[] buffer = new byte[fuFileUpload.PostedFile.ContentLength;];
fuFileUpload.PostedFile.InputStream.Read(buffer, 0, simpleFile.Data.FileSizeBytes);
//after Read operation array buffer is like a new object got every time only 0 values of all positions
after 3hours of trying this things worked i simply changed to <asp:FileUpload runat="server" ID="fuFileUpload"/>
and its worked with asp.net control like a dream.It's seems to be a bug. Please let me know if it's work with above example and what should I changed to make this work with ext.net.FileUploadField.
Thanks,
ViDom
Last edited by Daniil; Jul 19, 2012 at 3:41 PM.
Reason: [CLOSED]