摘要:1Question.htm页面以弹出窗口显示<tr><tdclass="loginQuestion"><ahref="javascript:window.showModalDialog('Question.htm','','dialogWidth:520px;dialogHeight:600px; dialogTop:'+(window.screen.availHeight-600)/2+';dialogLeft:'+(window.screen.availWidth -
阅读全文
摘要:using(varstream=Request.InputStream){ stringinputStream=newStreamReader(stream).ReadToEnd();JavaScriptSerializerjsSerializer=newJavaScriptSerializer();scheduleEventEntity=jsSerializer.Deserialize<ScheduleEventEntity>(inputStream);}foreach(PropertyDescriptordescriptorinTypeDescriptor.GetProper.
阅读全文
摘要:前台: vardownloadFrame;functiondoHisRPTDownload() {varperiod=$("#"+"<%=MonthSelect.ClientID%>").val();// Check to be sure this async postback is actually requesting the file download.if(!downloadFrame) {downloadFrame=document.createElement("iframe");// Add the IFRAM
阅读全文
摘要:1//获取到域名stringdomainName=HttpContext.Current.User.Identity.Name;UserManagermanager=newUserManager();EmpInfoempInfo=manager.GetUserInfo(domainName);2publicstringGetEmpId(stringdomainName){stringid=string.Empty;if(!string.IsNullOrEmpty(domainName)){string[]parts=domainName.Split(newstring[] {"\\&
阅读全文