上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页
摘要: /// <summary> /// 导出 /// </summary> /// <returns></returns> /// public void ExportData() { string strTotal = ""; string title = ""; string meta = "<meta http-equiv=\"content-type\" content=\"application/ms-excel; charset=UT... 阅读全文
posted @ 2013-01-09 15:33 Star★ 阅读(232) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Text;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Collections;using Microsoft.SharePoint;namespace updateInfo{ public partial class oEdit : System.Web.UI.UserControl { priva... 阅读全文
posted @ 2013-01-09 15:30 Star★ 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 前台:<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> $("#<%=ddl_type.ClientID %>").change(function () { if ($(this).va 阅读全文
posted @ 2013-01-09 14:50 Star★ 阅读(236) 评论(0) 推荐(0) 编辑
摘要: var collListItem = null;function IsExsiteData() { collListItem = null; var peoplePickerData1 = getPeoplePickerDataDocument(); var userId1 = getXmlValue(peoplePickerData1, "/ArrayOfDictionaryEntry/DictionaryEntry[./Key = 'SPUserID']/Value"); var ActivityID1=$("#td_IDInfo") 阅读全文
posted @ 2013-01-09 14:35 Star★ 阅读(192) 评论(0) 推荐(0) 编辑
摘要: function EntryVoteData() { if(VerificationData()==true){ var Name=$("div[id$='_txt_Name_upLevelDiv']").text(); var peoplePickerData = getPeoplePickerDataDocument(); var userId = getXmlValue(peoplePickerData, "/ArrayOfDictionaryEntry/DictionaryEntry[./Key = 'SPUserID']/ 阅读全文
posted @ 2013-01-09 14:33 Star★ 阅读(262) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> function getXmlValue(xmlDocument, xpath) { var results = null; if (xmlDocument.evaluate) { results = xmlDocument.evaluate("/ArrayOfDictionaryEntry/DictionaryEntry[./Key = 'SPUserID']/Value", xmlDocument, null, XPathResult.UNORDERED_NO 阅读全文
posted @ 2013-01-09 14:30 Star★ 阅读(235) 评论(0) 推荐(0) 编辑
摘要: function getXlsFromTbl(obj, title) { //var openPara = "left=" + (window.screen.width / 2 - width / 2) + ",top=" + (window.screen.height / 2 - height / 2) + ",scrollbars=no,width=" + width + ",height=" + height; var winname = window.open('', '_blank 阅读全文
posted @ 2013-01-09 14:25 Star★ 阅读(253) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> function abc() { var docEditor = RTE_GetEditorDocument($("#<%= %>").attr("id")); var paramObj = new Object(); paramObj.title = $("#<%=%>").val(); paramObj.Type = $("#<%=%> option:selected").text 阅读全文
posted @ 2013-01-09 14:11 Star★ 阅读(380) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><!-- Created using / Source can be edited via /untitled/edit--> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" 阅读全文
posted @ 2013-01-07 15:24 Star★ 阅读(279) 评论(0) 推荐(0) 编辑
摘要: function getXlsFromTbl(inTblId, inWindow) { try { var allStr = ""; var curStr = ""; if (inTblId != null && inTblId != "" && inTblId != "null") { curStr = getTblData(inTblId, inWindow); } if (curStr != null) { allStr += curStr; } ... 阅读全文
posted @ 2013-01-06 11:05 Star★ 阅读(250) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页