Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
19 views

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

Rumen
Telerik team
 answered on 30 Apr 2025
1 answer
32 views

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.

 

 

Attila Antal
Telerik team
 answered on 23 Dec 2024
0 answers
31 views
How to prevents users from dragging and dropping files from a compressed zip folder in upload control
Afroz khan
Top achievements
Rank 1
 asked on 17 Dec 2024
1 answer
40 views

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?

Rumen
Telerik team
 answered on 10 Dec 2024
1 answer
39 views

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?

Rumen
Telerik team
 answered on 05 Dec 2024
1 answer
130 views
I am using the file upload feature and getting a 403 error in the OnClientFileUploadFailed function. It only occurs on some files not all. I have already confirmed it is not an issue with the file extension. I am also confident it is not an issue with file size.

Any ideas why this could be happening? What are situations where a 403 error would occur here? Are there any steps I could take to further narrow down the issue?
Rumen
Telerik team
 answered on 22 Oct 2024
1 answer
67 views
Is there a way to upload all files in a directory via Dropzone?
Attila Antal
Telerik team
 answered on 21 Jun 2024
1 answer
604 views

Dear Team,

We are currently using Telerik version 2013.1.0.403 in our application. One of our client has highlighted a Unrestircted Fie Upload issue concerning the RadAsyncUpload function.

The impact of the concern is that the RadAsyncUpload's AsyncUploadHandler was configured with a static key for encrypting form data in file upload requests. This key, PrivateKeyForEncryptionOfRadAsyncUploadConfiguration, was not changed from its default value. As a result, an attacker could exploit this by crafting a file upload request to /Telerik.Web.Ui.WebResource.axd?type=rau with a custom encrypted rauPostData POST parameter.

This could allow the attacker to upload malicious files and potentially gain unauthorized access, such as a web shell.

How do we configure the PrivateKeyForEncryptionOfRadAsyncUploadConfiguration, and what is the procedure for doing so?
Thank you in advance for your cooperation.

Rumen
Telerik team
 answered on 08 Apr 2024
1 answer
140 views

We have a RadAsyncUpload control on a page.  The "Select" button is displayed to allow the user to choose files.  All good.  What we'd like is a way to detect when the Select button is clicked to clean up other parts of the page. 

For example... we also have a RadGrid on the page.  The user might have a row open in an EditForm.  We'd like to close that edit form when the user clicks the Select button of the RadAsyncUpload control.  I don't see an obvious client side event for that, and the Select button doesn't trigger a server side event.  

Is there a client-side equivalent for the RadGrid ClearEditItems method that could be called as part of the click event on the RadAsyncUpload Select button?

Any suggestions would be appreciated.

Rumen
Telerik team
 answered on 13 Mar 2024
2 answers
96 views

Hi,

 

Is it possible to upload directly to the TargetFolder when the file is dropped on a dropzone?

I mean, without hitting a submit button first?

 

Thanks,

Marc

Vasko
Telerik team
 answered on 30 Nov 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?