C
charles
Hi:
I created a thread from Page_Load to start an infinite loop to monitor
the arrived data (a customized event). When the data arrives, I set a
flag to true to break the loop and join the thread to the Page thread
in order to display the data on a textbox.
Then I want to continue monitoring the arriving data. I use a timer in
which I reset the flag to false and re-start the thread inside the
Page_Load while IsPostback == true.
I can click a button to get into IsPostback == true inside Page_Load
routine. But this needs to be done automatically (with no human
operation).
How to do that? Please teach me. Thanks!
Charles
3/6
I created a thread from Page_Load to start an infinite loop to monitor
the arrived data (a customized event). When the data arrives, I set a
flag to true to break the loop and join the thread to the Page thread
in order to display the data on a textbox.
Then I want to continue monitoring the arriving data. I use a timer in
which I reset the flag to false and re-start the thread inside the
Page_Load while IsPostback == true.
I can click a button to get into IsPostback == true inside Page_Load
routine. But this needs to be done automatically (with no human
operation).
How to do that? Please teach me. Thanks!
Charles
3/6