This project is read-only.
1
Vote

How to implement persistent client calls from Event Handler

description

Hello,

How would I "maintain" a Button.OnClick Event Handler that uses the PokeIn Comet control to send client calls?

I tried a timed loop for the Event Handler, but the Comet calls did not function nor did successive click calls.
protected void EnterButton_Click(object sender, EventArgs e)
{
                if (sender == null && e == null)
                {
                    Thread.Sleep(FIVE_SECONDS);
                }
                else
                {
                //Event handler code here

                //comet calls here

                }
                EnterButton_Click(null, null);
}
Ultimately I would like to send wake up messages after a timeout. As in, "I'm waiting."

Thanks.

Regards,
William Johnston

comments