Async calls from a hosted control?

Tech-Archive recommends: Fix windows errors by optimizing your registry




I have a .NET control that calls a .NET Web Service to do its work.
They are both written on the 2.0 .Net Framework Beta2. My control
makes Async calls to the web service. This seems to work ok when the
control is running in a win form app. But, when I put the control into
a web page (using the object tag), I never get the event from the Async
method completed.

Does anyone know why the callback would not work when the control is in
a browser? (note: it is still a win form control, this is not ASP. It
is just using the browser to download the control from a web server,
and then running inside the brwoser). I used TDIMon to look at the
messages being sent, and when it runs in an EXE, I get
TDI_SEND TCP:0.0.0.0:3378 130.211.4.176:80 SUCCESS-425 Length:387
TDI_EVENT_CHAINED_RECEIVE TCP:0.0.0.0:3378 130.211.4.176:80 DATA_NOT_ACCEPTED-424 Length:1460
Flags: LOOKAHEAD DISPATCH
TDI_RECEIVE TCP:0.0.0.0:3378 130.211.4.176:80 SUCCESS-426 Length:4096
Flags:

When it is run in the browser I get:
TDI_SEND TCP:0.0.0.0:3376 130.211.4.176:80 SUCCESS-36 Length:363
TDI_EVENT_CHAINED_RECEIVE TCP:0.0.0.0:3376 130.211.4.176:80 PENDING Length:1460
Flags: LOOKAHEAD DISPATCH
TDI_EVENT_CHAINED_RECEIVE TCP:0.0.0.0:3376 130.211.4.176:80 PENDING Length:494
Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH

Any help?

Backslider

.



Relevant Pages

  • RE: How to Deploy Web Application
    ... if you just include the Content and Primary Built Output project ... output groups in a Web Setup project, usually you'll get an installer that ... Some user controls, third party server>controls, window form user controls, and business logical. ... This control>itself will use a web service to get data from database>and draw a pretty chart based on data. ...
    (microsoft.public.vsnet.enterprise.tools)
  • Re: Embedded UserControl accessing ws-security web service
    ... >>When they open a page with my embedded user control the control needs to ... >>call the web service and pass their credentials. ... >>I need to be able to get the user's credentials into the UserControl ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: image not rendered when expected
    ... magically do a mapping from my server file location to a URL in the HTML it ... ImageURL method on the control). ... I verified that the file accessed from the web service was actually ... placed in its target location. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: image not rendered when expected
    ... Use "view source" to see the rendered HTML. ... ImageURL method on the control). ... I verified that the file accessed from the web service was actually placed ... in its target location. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: can this be done? use a webcontrol from a webservice?
    ... A Web Control is a UI. ... A Web Service is an API. ... > on the web interface we have a web custom control that wraps up our ... > with the database through web services. ...
    (microsoft.public.dotnet.framework.aspnet)