G
Guest
Hi,
I am having an issue which apparently (according to the word of google) a
few other people have run into but found no satisfactory answer. I have a
winforms user control hosted in IE which uploads files to a web server
asyncronously. Once the file is uploaded or an exception is thrown, my c#
callback fires, which in turn raises an event which is supposed to call a
javascript function to fire.
However, when the event is raised, I get a TargetException ("Object does not
match target type") with reference to my javascript handler - this event when
raised from outside of the callback works fine.
Coudl any body give any hints as to what might be going on or how to work
around it? I have tried different methods of doing the async callback
(BackgroundWorker, async delegate) and they both exhibit the same behaviour
when raising the event.
Any help would be much appreciated!
I am having an issue which apparently (according to the word of google) a
few other people have run into but found no satisfactory answer. I have a
winforms user control hosted in IE which uploads files to a web server
asyncronously. Once the file is uploaded or an exception is thrown, my c#
callback fires, which in turn raises an event which is supposed to call a
javascript function to fire.
However, when the event is raised, I get a TargetException ("Object does not
match target type") with reference to my javascript handler - this event when
raised from outside of the callback works fine.
Coudl any body give any hints as to what might be going on or how to work
around it? I have tried different methods of doing the async callback
(BackgroundWorker, async delegate) and they both exhibit the same behaviour
when raising the event.
Any help would be much appreciated!