PopNotifyMeeting.aspx
资源名称:OA_at.rar [点击查看]
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:2k
源码类别:
OA系统
开发平台:
C#
- <%@ Page language="c#" Codebehind="PopNotifyMeeting.aspx.cs" AutoEventWireup="false" Inherits="OA.PopNotifyMeeting" %>
- <%@ Register TagPrefix="cc1" Namespace="EeekSoft.Web" Assembly="EeekSoft.Web.PopupWin" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>NotifyMeeting</title>
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <script language="javascript">
- var intCallID=0;
- function Init()
- {
- if(document.all.Hidden2.value==""){
- GetNewMeeting();
- setInterval("GetNewMeeting()",5000);
- }
- }
- function GetNewMeeting()
- {
- document.all.Hidden2.value='';
- Service.useService("http://218.84.107.8/OA/WebService1/OAService.asmx?WSDL","MeetingService");
- intCallID=Service.MeetingService.callService(RealTime_Result,"GetNewMeeting",document.all.Hidden1.value);
- }
- function RealTime_Result(result)
- {
- if(result.error)
- {
- document.all.Hidden2.value="";
- }
- else
- {
- if(document.all.Hidden2.value==""&&result.value != ""){
- document.all.Hidden2.value= result.value;
- document.forms(0).submit();
- }
- }
- }
- </script>
- </HEAD>
- <body leftMargin="5" topMargin="5" onload="Init()" rightMargin="1">
- <form id="Form1" method="post" runat="server">
- <div id="Service" style="BEHAVIOR: url(webservice.htc)"></div>
- <div style="WIDTH: 100%; HEIGHT: 100%" align="center"><cc1:popupwin id="PopupWin1" title="提示" runat="server" HideAfter="-1" LinkTarget="blank" ActionType="OpenLink"
- ColorStyle="Green" OffsetX="0" OffsetY="10" Message="有新的会议通知!" Height="82px" DockMode="BottomRight" Width="160px"></cc1:popupwin></div>
- <INPUT id="Hidden1" type="hidden" name="Hidden1" runat="server"><INPUT id="Hidden2" type="hidden" name="Hidden2" runat="server">
- </form>
- </body>
- </HTML>