J
Jervin Justin
Hi,
I've been having this problem for some time with Web Forms:
I have a web app that sends data to a service when the user presses a
button. Based on the data, the server will send several replies. Since
there is no way for a service to post to a client, I am using a thread
on the client that polls the server for updates.
(Feel free to recommend changes to that as well)
Now heres the problem... If I try to update a control from this thread
(to reflect the update received), obviously no change occurs on the
page cos its on a separate thread and doesn't have access to the
controls. I know in windows form, you can use MethodInvoker from a
thread to update controls... Any way to do this in Web Forms?
Thanks for any help!!
I've been having this problem for some time with Web Forms:
I have a web app that sends data to a service when the user presses a
button. Based on the data, the server will send several replies. Since
there is no way for a service to post to a client, I am using a thread
on the client that polls the server for updates.
(Feel free to recommend changes to that as well)
Now heres the problem... If I try to update a control from this thread
(to reflect the update received), obviously no change occurs on the
page cos its on a separate thread and doesn't have access to the
controls. I know in windows form, you can use MethodInvoker from a
thread to update controls... Any way to do this in Web Forms?
Thanks for any help!!