For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > February 2008 > Client-side documentation for Ajax Timer









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Client-side documentation for Ajax Timer
news.rz.uni-karlsruhe.de

2008-02-28, 8:17 pm


I want to deactivate the Ajax timer from clientside with javascript - that
is,
it should not raise any postbacks any more.

Which method/propertie is there I can use to chieve this and most
importantly - where can i find a client side javascript api reference of
the asp.net ajax controls(url please!).

Regards

R4DIUM


bruce barker

2008-02-28, 8:17 pm

the doc (you could have guessed the url)

http://asp.net/ajax/documentation/

the timer control is a server control and has no supported client side api.
if the control is in the update panel, you can change properties server side,
and they will be changed on the client side when the panel is rerendred.

also, even though there is no supported client api, you have the source
code, so a quick look shows a set_enabled method.


-- bruce (sqlwork.com)


"news.rz.uni-karlsruhe.de" wrote:

>
> I want to deactivate the Ajax timer from clientside with javascript - that
> is,
> it should not raise any postbacks any more.
>
> Which method/propertie is there I can use to chieve this and most
> importantly - where can i find a client side javascript api reference of
> the asp.net ajax controls(url please!).
>
> Regards
>
> R4DIUM
>
>
>

news.rz.uni-karlsruhe.de

2008-02-28, 8:17 pm

I knew http://asp.net/ajax/documentation/.

But I was unable to find any documentatin about e.g. set_enable() method.

Is it safe to use this method regarding future ajax toolkit versions?

Thx for the answer

R4DIUM


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com