datepicker.css

在数据配置时,检查系统英文版还是中文版,在
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\iframe.aspx添加


<link rel="stylesheet" type="text/css"href="/_layouts/1033/styles/datepicker.css"/>

中文的添加

<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages" %> <%@ Page Language="C#" Inherits="Microsoft.SharePoint.ApplicationPages.DatePickerFrame"      %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <% SPSite spServer = SPControl.GetContextSite(Context); SPWeb spWeb = SPControl.GetContextWeb(Context); %>
<html dir="<SharePoint:EncodedLiteral runat='server' text='<%$Resources:wss,multipages_direction_dir_value%>' EncodeMethod='HtmlEncode'/>">
 <HEAD>
 <link rel="stylesheet" type="text/css"href="/_layouts/2052/styles/datepicker.css"/>
 
 <META Name="GENERATOR" Content="Microsoft SharePoint">
 <SharePoint:CssLink runat="server"/>
 <script src="./DatePicker.js"></script>
 <title>Date Picker</title>
 </HEAD>
 <BODY onload="PositionFrame('DatePickerDiv');" onkeydown="OnKeyDown(this);" style="margin:0;">
   <SharePoint:SPDatePickerControl id="DatePickerWebCustomControl" runat="server" >
    </SharePoint:SPDatePickerControl>
 </BODY>
</HTML>

原文地址:https://www.cnblogs.com/Areas/p/2550920.html