摘要:
/// <summary> /// 导出 /// </summary> /// <returns></returns> /// public void ExportData() { string strTotal = ""; string title = ""; string meta = "<meta http-equiv=\"content-type\" content=\"application/ms-excel; charset=UT... 阅读全文
摘要:
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... 阅读全文
摘要:
前台:<%@ 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 阅读全文
摘要:
var collListItem = null;function IsExsiteData() { collListItem = null; var peoplePickerData1 = getPeoplePickerDataDocument(); var userId1 = getXmlValue(peoplePickerData1, "/ArrayOfDictionaryEntry/DictionaryEntry[./Key = 'SPUserID']/Value"); var ActivityID1=$("#td_IDInfo") 阅读全文
摘要:
function EntryVoteData() { if(VerificationData()==true){ var Name=$("div[id$='_txt_Name_upLevelDiv']").text(); var peoplePickerData = getPeoplePickerDataDocument(); var userId = getXmlValue(peoplePickerData, "/ArrayOfDictionaryEntry/DictionaryEntry[./Key = 'SPUserID']/ 阅读全文
摘要:
<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 阅读全文
摘要:
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 阅读全文
摘要:
<script type="text/javascript"> function abc() { var docEditor = RTE_GetEditorDocument($("#<%= %>").attr("id")); var paramObj = new Object(); paramObj.title = $("#<%=%>").val(); paramObj.Type = $("#<%=%> option:selected").text 阅读全文