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

Miltiple Ajax Requests

3 Answers 48 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
NY Norton
Top achievements
Rank 1
NY Norton asked on 19 Apr 2011, 09:50 PM
OK, I have a portal page that contains seven to ten user controls.  Each user control has a timer and is wrapped in an Ajax Panel.  When the portal pages loads it loads each user control in some kind of order.  What I am hoping for is that each user control will start loading independently of each other. 

So, I tried using the Ajax Manager on the master page with proxies on the user controls and still no luck.  I can only get a single ajax request to take place at a time.  How can I get two or three requests running at the same time?  Is this possible with Telerik controls?

Any adivce or suggestions?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 22 Apr 2011, 09:10 AM
Hello Jeff,

If you want to allow the user to invoke multiple ajax requests at a time you set the RequestQueueSize property as described here. Please give this suggestion a try and let me know how it goes.

Best wishes,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
NY Norton
Top achievements
Rank 1
answered on 22 Apr 2011, 04:18 PM
Yeah, I have that value set.  I belive the problem is I do not know how to initiate the individual calls after the page has loaded.

I have a timer control, that when it ticks it initiates a load procedure on each user control.  Each user control is then identified in the Ajax Manager as being updated by the timer.  While this loads the index page, each control waits for the others to complete for the screen will display the data within that user control. 

What I want is for each of these user controls to start to load and finish independently of each other.  At first I was thinking each user control should have its own AJAX panel and timer, but that didn't work as I expected either.

0
Pavlina
Telerik team
answered on 26 Apr 2011, 03:40 PM
Hello Jeff,

Using a single initiateAjaxRequest to handle different ajax requests is correct approach for achieving your goals. Actually this is single request which tales different arguments.
http://www.telerik.com/help/aspnet-ajax/ajax-client-side-api.html

Best wishes,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Ajax
Asked by
NY Norton
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
NY Norton
Top achievements
Rank 1
Share this question
or