WebVize's WebLog

An independent C# Developer in the Netherlands

(HELP) Unexpected IE behaviour when hosting winform controls

I have build the major part of a quite complex CMS in ASP.NET (C#).
I use a couple of hosted winform controls and here is where my problems start.

Somehow it seems that IE locks up ( wait a loooong time) before the controls will become alive again. It looks like they fall in a deep sleep mode J

When I wait long enough it will correct itself but it is a absolute unwanted behavior.
I have placed interfaces on the objects so I can control them with javascript from the client. This all seems to be working.

Setting properties from the javascript, up to raising events from the WinForm Controls that will be picked up by the JavaScript.

So the COM interface seems to be OK!!

 

But now and then it all comes to a hold and is in a undefined state. (my network adapter starts pumping data)
Could it be that I have forgotten something ??

 

I make use of webservices from the Winform controls.. and it loads up fine, interacts but on indefinable moments IE freezes.

The moments of freezing seems to be on right on the moment of raising an event.

 

Has anybody have the same experience and offcourse a solution for this.
These controls are always visible for the user so they are constantly running. Even let it raise events that will trigger a javascript to update a counter in the winform control (this works).

But it keeps locking from time to time...

 

Got no clue where I could search for the problem!! 

 

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)