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

Ajax async jQuery pagemethod blocking grid ajax request

1 Answer 170 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SKM
Top achievements
Rank 1
SKM asked on 18 Jan 2011, 08:08 PM
Hi,

I have a web application with multiple user controls. Each user control has a radgrid and gets loaded on-click of respective image buttons. For a certain user control, on-click of the image button, I call an async ajax jQuery pagemethod to populate a container class which I use later. So, on-click of the image button, the user control gets loaded and the pagemethod gets called. Now, the radgrid for that user control has virtual scrolling and when scrolled, it sends ajax request with AjaxRequestWithTarget. The issue is that, the earlier pagemethod call is blocking the ajax request. The ajax request is getting blocked till the time the async ajax  pagemethod completes its task.
Is there any way to overcome this issue ? I expect the ajax pagemethod to be async and shouldn't interfere with any other calls/requests and should run in the background.
Any help is appreciated.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 21 Jan 2011, 02:49 PM
Hello SKM,

As far as I understand you are loading the user control client-side. But thus the RadGrid lifecycle is not executed properly and that is a possible reason for the grid not to work as expected. I suggest that you load the user controls as described in this article and see if it works for you.

Kind regards,
Iana
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
Grid
Asked by
SKM
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or