Update of /cvsroot/magicajax/magicajax/Docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23979/Docs
Modified Files:
Usage.html
Log Message:
Added documentation for AjaxCallHelper.SetAjaxCallTimerInterval
Index: Usage.html
===================================================================
RCS file: /cvsroot/magicajax/magicajax/Docs/Usage.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Usage.html 8 Feb 2006 20:42:10 -0000 1.3
--- Usage.html 9 Feb 2006 15:23:59 -0000 1.4
***************
*** 61,64 ****
--- 61,66 ----
<li>
<A href="#ajaxcall">Handling an AjaxCall</A>
+ <li>
+ <A href="#timer">Setting an Ajax refresh timer</A>
</li>
</ul>
***************
*** 109,113 ****
AjaxCallHelper.WriteAlert ("Button1 was clicked.");
}</pre>
! <P></P>
<p class="MainHeader" align="left">Controls</p>
<p class="NewsDate"><a name="ajaxpanel"></a>AjaxPanel</p>
--- 111,133 ----
AjaxCallHelper.WriteAlert ("Button1 was clicked.");
}</pre>
! <hr>
! <p class="NewsDate"><a name="timer"></a>Setting an Ajax refresh timer</p>
! <p class="MainContent">You can use the <STRONG>AjaxCallHelper.SetAjaxCallTimerInterval</STRONG>
! method to set a page wide timer that will invoke AjaxCalls at the intervals
! that you define. You can call it either at the initial page request or during
! an AjaxCall to initiate it or change the interval value. If you call it with an
! interval value of zero, the timer will deactivate.
! </p>
! <P class="MainContent">Example:
! <pre> private void Page_Load(object sender, System.EventArgs e)
! {
! if (!IsPostBack)
! {
! // Ajax refresh every 10 seconds
! MagicAjax.AjaxCallHelper.SetAjaxCallTimerInterval(10000);
! }
! }
! </pre>
! </P>
<p class="MainHeader" align="left">Controls</p>
<p class="NewsDate"><a name="ajaxpanel"></a>AjaxPanel</p>
***************
*** 263,267 ****
<p>Example:
<pre> <asp:button excludeflags="excfFormElements | excfViewState" ...></pre>
! </p>
</li>
</ul>
--- 283,287 ----
<p>Example:
<pre> <asp:button excludeflags="excfFormElements | excfViewState" ...></pre>
! <P></P>
</li>
</ul>
|