Miltiple Ajax Requests

4 posts, 0 answers
  1. Jeff P
    Jeff P avatar
    37 posts
    Member since:
    Mar 2007

    Posted 19 Apr 2011 Link to this post

    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?
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 22 Apr 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jeff P
    Jeff P avatar
    37 posts
    Member since:
    Mar 2007

    Posted 22 Apr 2011 Link to this post

    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.

  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 26 Apr 2011 Link to this post

    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.

Back to Top