Facing the exception Could not find file 'C:\inetpub\wwwroot\source\App_Data\RadUploadTemp\16378221455987_23.PNG.tmp'. while uploading a file from RadAsyncUpload Control on an aspx Page, at the line 5 while trying to read the InputStream.
The Code is like below on Codebehind file;
Protected Sub AsnycUpload1_FileUploaded(sender As Object, e As FileUploadedEventArgs) Handles AsnycUpload1.FileUploaded
Try
Dim file As UploadedFile = AsnycUpload1.UploadedFiles.Item(0)
Dim bytes(file.ContentLength - 1) As Byte
file.InputStream.Read(bytes, 0, bytes.Length)
file.InputStream.Dispose()
Catch ex As Exception
doh(ex)
End Try
End Sub
please help in resolving the issue!
Drag and drop on the AsyncUpload control from file explorer or MS outlook works fine when I'm using Microsoft Edge. No issues.
My application is running under IE Mode (IE11 compatability) and in this case, drag and drop only works when dragging from the file explorer. When trying to drag from IE, the file or email does not get uploaded.
Is there anything that can be changed to make this work?
Good afternoon,
I'm currently running Telerik UI for ASP.NET AJAX R3 2023. I am using the RadAsyncUpload with a AsyncHandler.ashx to copy the file to a RadUploadTemp on a file share.
This has been working perfectly for ages but recently large file updates have been failing e.g. a 2.1 GB file failing at 61%. I'm being told this is due to a TCP Zero Window issue.
I assumed the chunked upload mechanism mitigates the issues caused by TCP window size restrictions, which can cause slowdowns or failures when uploading very large files in a single request. I am setting the upload ChunkSize value to 4194304.
I have the following settings in web.config:
<system.web>
<httpRuntime maxRequestLength="2097151" executionTimeout="18000"/>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295"/>
</requestFiltering>
</security>
</system.webServer>
Have you got any ideas as to why it might be failing for larger files, or what I can do to the configuration to prevent the TCP Zero Window error by pausing data transmission until the receiver is ready to accept more data?
Kind regards,
Richard
I found an issue where I had a webpage that has an AsyncUpload control and a text field. If the user enters text that contains angle brackets with some text between the brackets, the AsyncUpload throws some type of error.
I was able to reproduce this problem in the Telerik demo:
https://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=asyncupload
Steps:
1. Click "Add new record"
2. In the Image Name field type "test <test.com>"
3. Upload an image file
4. Click checkbox to add record
5. Error occurs.
I'm using server side validation for certain controls on an asp.net web form page, which also contains a RadAsyncUpload control.
When a user clicks save, I check to make sure these certain controls contain a value. If this fails, we stop the save process and display a message to the user.
During this process, any files to be uploaded are lost. I need to retain them.
In the load event following this post back, the RadAsyncUpload control still has the uploaded files, but after fully loading the page, they're gone.
I'm already using the Post back Triggers property and this save button just happens to be the post back trigger.
How can I capture these files and "re-load" them into the control?
I am working with multiple RadAsyncUpload controls, and for each RadAsyncUpload, I use a RadProgressBar to track the progress of the file uploads. However, I am encountering an issue when uploading multiple files to one of the RadAsyncUpload controls. In this case, all the RadProgressArea components display unexpectedly, as shown in the screenshot below.
Can anyone help by providing sample code or advice to handle this case?