Take the 2-minute tour ×  I wonder if the following is possible:
I have a dll that I have referenced in my web site. This dll
makes a remote socket connection. The socket connection is
waiting in the background and the dll reports back data through
events after the socket has received some data.  The connection
is opened during load of page.  Now, I would, for example, like
to update a label on the page when new data has arrived.  I am
not sure how this would work. I assume that I could set some
kind of timer on page that updates a control but it does not
seem "optimal" as I already call code behind through my events.
"Optimally" the UpdatePanel or whatever updates the interface
would wait for events and "update" when events has occurred and
not based on time.  My question is - is this possible?
share|improve this question It's easier to load the page on the
client then initiate the call to the server via AJAX, letting
the page method wait (the page has loaded but you could display
a little "loading" symbol