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

ajax hangs

3 Answers 59 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Per Holmqvist
Top achievements
Rank 2
Per Holmqvist asked on 06 Jan 2008, 01:17 AM
I have a very strange error in my latest development.
Every ajax action stops after first request. When reloading the page it works until new first attempt...
This happens on several pages. on Grid, editor etc.
Please take a look at http://familjelycka.betatest.nu/message/mattiasjarnhall.sweet

Anyone that have seen this happens before?

Regards Pelle

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Jan 2008, 12:00 PM
Hi Pelle,

We have not encountered this problem so far. Honestly we could not see even a single "running" ajax request from your live url. Testing it with web developer helper, we encountered the following error everytime we try to fire request from the grid:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


It would be best if you strip a sample runnable project which replicates the problem, so we can debug it locally.
Also are all RadControls in your page part of the Prometheus suite or you have both? We recommend using only controls from either the ASP.NET or Prometheus suite.

All the best,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Per Holmqvist
Top achievements
Rank 2
answered on 07 Jan 2008, 03:47 PM
Well thats really strange, I open a supportticket for this case instead...
0
Subodh
Top achievements
Rank 1
answered on 08 Jan 2008, 09:55 AM
Hello Pelle,

I have also not seen any problem in your sample code. Only thing which I have watched is Grid is updated after some time and during that period no loading image is shown. This looks like that grid is hang and after refresh of page you found the updated grid.

You can also show the status of grid to know what is going on.
ShowStatusBar is a property name.

Hope I am  not wrong and will answer your problem.

Subodh
Tags
Ajax
Asked by
Per Holmqvist
Top achievements
Rank 2
Answers by
Steve
Telerik team
Per Holmqvist
Top achievements
Rank 2
Subodh
Top achievements
Rank 1
Share this question
or