This is a migrated thread and some comments may be shown as answers.

Async upload blocks other ajax calls

4 Answers 63 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tomasz
Top achievements
Rank 1
Tomasz asked on 03 Jun 2011, 11:03 AM
Hi, I have two questions:
1. Is it a normal behaviour that while uploading a file using the Telerik's upload control asynchronously all other ajax calls are blocked until the end of the whole operation? Or am I doing something wrong?
2. Are there any plans to support IE regarding Telerik's upload control?
Best regards
Tomek

4 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 03 Jun 2011, 12:28 PM
Hi Tomasz,

Browsers limit the number of concurrent connections to each domain. The Upload by itself will not block other connections, but it's connections count towards this limit. When the limit is reached the requests have to wait each other out.

I've created a simple test project that issues AJAX requests while the upload is running. I did not notice any delays when testing under IIS Express and IIS. The Visual Studio development server was fine, but I couldn't test with larger files as it rejects them.

The Upload supports IE, but with some limitations that can be seen here - Supported browsers

All the best,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Tomas
Top achievements
Rank 1
answered on 04 Jun 2012, 04:32 PM
This problem is not related with the browser limits. It is limitation of Telerik Upload MVC. I have tested Telerik MVC Upload on all browsers on IIS7 and can confirm that it blocks all other concurrent asynchronous calls to application until upload is finished. We have evaluated and even implemented the upload control in our application. Unfortunately will have to move to something better due to this limitation.
0
Tomas
Top achievements
Rank 1
answered on 05 Jun 2012, 08:45 AM
Ok, I am sorry for the post above. It seems the problem related not with Telerik Upload but with MVC Session locking itself. More readying
http://weblogs.asp.net/imranbaloch/archive/2010/07/10/concurrent-requests-in-asp-net-mvc.aspx 

I have solved concurrent connection problem by adding attribute below on Controller 

  [SessionState(SessionStateBehavior.ReadOnly)]
0
T. Tsonev
Telerik team
answered on 12 Jun 2012, 05:28 AM
Hi,

Great to know. Thanks for sharing the solution.

As a token of gratitude for your involvement your Telerik points have been updated.

Kind regards,
Tsvetomir Tsonev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Upload
Asked by
Tomasz
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Tomas
Top achievements
Rank 1
Share this question
or