Serendipity
4/26/2007 12:34:00 PM
Here I am again with those questions...
I figured I actually don't have to poll for the server action, unless I want
to get partial data as it comes. When it ends, it will call the "OnSucceeded"
client script that I registered. Is that correct?
I still want to use setInterval to start off the server action. I'm not sure
it's possible, though.
If I understand correctly, the client script is registered with the page
containing the control. I can use registerStartupScript to call
setInterval(). The problem is I want to be able to change the interval, but
that would be impossible, wouldn't it? I can't change or unregister the
script?
Alternatively I was thinking to start a timer on the server, where I have
better control, and then I will use setInterval to poll the server for new
data.
"Steven Cheng[MSFT]" wrote:
> Hi Almog,
>
> Does the further information in my last reply helps you some? Please feel
> free to post here if there is anything else we can help.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
>