You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
523 B
16 lines
523 B
<%@ Page Language="C#" ASPCOMPAT="TRUE" Debug="true" Inherits="OboutInc.oboutAJAXPage"%>
|
|
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
|
|
<script language="C#" runat="server">
|
|
public void ServerCreateTimer () {
|
|
if (Session["nrCallback"] != null)
|
|
Session["nrCallback"] = 0;
|
|
|
|
CreateTimer("MyTimer", "myServerMethod", "myClientFunction", 2000);
|
|
}
|
|
|
|
public void ServerCancelTimer () {
|
|
if (Session["nrCallback"] != null)
|
|
Session["nrCallback"] = 0;
|
|
|
|
CancelTimer("MyTimer");
|