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

AjaxRequest fails second time wit IIS

4 Answers 131 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Marc Schaaks
Top achievements
Rank 1
Marc Schaaks asked on 03 Jun 2010, 04:41 PM
I have a RadGrid embedded in a RadAjaxPanel that gets loaded with data based on an ajaxrequest call to the RadAjaxPanel.

Data is loaded based on a user defined query.

The first time the query fires, the data comes back fine. The second time and every attempt onwards the loading panel remains and the data is not displayed. I only have this issue when testing with IIS. Running the solution from the localhost with VS 2008 does not give me this problem.

Please see the attached image for a sense of the problem.

It does not seem to be a loadingpanel problem, but purely an ajaxrequest problem. Without the loading panel the second request just does not get answered it seems by the server.

cheers,

Marc.

4 Answers, 1 is accepted

Sort by
0
Marc Schaaks
Top achievements
Rank 1
answered on 03 Jun 2010, 05:27 PM
In a RadAjaxManager setup (thus instead of using the RadAjaxPanel) the setup does seem to work. How come ?
0
Iana Tsolova
Telerik team
answered on 08 Jun 2010, 03:00 PM
Hi Marc,

Can you share the problematic page code (aspx and cs) for further research or open a formal support ticket to send us a runnable application for debugging?
Having the provided information it is hard to determine what could have cause the described behavior.

Best wishes,
Iana
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
Bill Hicks
Top achievements
Rank 1
answered on 11 Feb 2011, 05:58 AM
Is there a general solution to this problem?  I have a fairly simple page with an ajax manager that controls 3 or 4 controls.  The first time I run the page after it's loaded by clicking a button, the ajax update works flawlessly.  The second time it fails every time, with some sort of "index out of range" error.  If I remove all ajax code everything works but of course I get a full-page postback which I do not want.
0
Iana Tsolova
Telerik team
answered on 15 Feb 2011, 12:35 PM
Hello Bill,

There is no general solution to this problem, because the issue is not origin in the RadAjax control itself. It might be something in your specific case that is making the page to behave unexpectedly. So to solve the problem we should find what is the source of the problem. Can you share the code of the page you mentioned? We will debug it locally and see what went wrong there.

Best wishes,
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
Ajax
Asked by
Marc Schaaks
Top achievements
Rank 1
Answers by
Marc Schaaks
Top achievements
Rank 1
Iana Tsolova
Telerik team
Bill Hicks
Top achievements
Rank 1
Share this question
or