SharePoint小技巧记录如下,不断更新中 0 、前一个页面的RUL ASP.NET Request.Referrer jsp String request_url=request.getHeader("Referer"); asp Request.ServerVariables("HTTP_REFERER") 1 、WebForm中Group效果的html
动态
2、WebForm中滚动字幕效果的html
html 滚动字幕代码
基本语法:
举例:
啦啦啦,我会移动耶!
文字移动属性的设置: 方向
#=left, right
举例:
啦啦啦,我从右向左移!
啦啦啦,我从左向右移!
方式 :
#=scroll, slide, alternate
举例:
啦啦啦,我一圈一圈绕着走!
啦啦啦,我只走一次就歇了!
啦啦啦,我来回走耶!
循环 :
#=次数;若未指定则循环不止(infinite)
举例:
啦啦啦,我只走 3 趟哟!
啦啦啦,我只走 3 趟哟!
啦啦啦,我只走 3 趟哟!
速度:
举例:
啦啦啦,我走得好快哟!
延时 :
举例:
啦啦啦,我走一步,停一停!
外观(Layout)设置:
对齐方式(Align)
#=top, middle, bottom
啦啦啦,我会移动耶!
对齐上沿、中间、下沿。
底色 :
举例:
#=rrggbb 16 进制数码,或者是下列预定义色彩:
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua
啦啦啦,我会移动耶!
面积 :
举例:
啦啦啦,我会移动耶!
啦啦啦,我会移动耶!
空白:(Margins)
举例:
啦啦啦,我会移动耶!
大家好!
2:在DREAMWEAVER这个工具里怎么插入一个打开网叶就自动播放音乐,而且整个过程隐藏的音频播放,如果用 html 代码写怎么写
答:
背景音乐
#=WAV 文件的 URL
#=循环数
另及:
ONMOUSEOUT=this.start() :用来设置鼠标移出该区域时继续滚动 ONMOUSEOVER=this.stop(): 用来设置鼠标移入该区域时停止滚动
3、SharePoint中的权限提升有一个小的注意点, 在以前SharePoint 2003 中,impersonate 是一个可以在sps 环境中使用所有功能的至高无上选择,通过impersonate 就可以通过Object Modal 的方式操作SharePoint 的所有功能。但是到了Microsoft Office SharePoint Server 2007 (moss2007 ,SharePoint Portal Server 2003 的后续版本) 这个又出现了新的变化,Impersonate 被丢弃了,而取而代之的是声称跟好的SPSecurity.RunWithElevatedPrivileges() , 它通过传入一个无返回,无输入参数的委托作为参数,对委托的方法以提升权限后的身份去运行,来达到通过Object Modal 方式访问Moss 中所有资源和功能的目的。 在网上有些文章指出SPSecurity.RunWithElevatedPrivileges 这个方法实际上是用了IIS 中应用程序池中的用户去代替当前用户去运行,委托中的代码。这的确如此 但是这个方法并不是一步到位,直接的去使用应用程序池的用户,而是通过了一个所谓的“代理人”去完成这个事。无论在将Moss 的Web 应用程序部署为Windows 集成身份验证还是自定义的Forms 验证,在Moss 的所有列表库或文档库中的权限列表中,都会看到一个人,就是SHAREPOINT\System 这个用户,这个用户也是映射为当前的web 应用的网站集管理员,一般是第一个管理员。 Moss 2007 中,就是通过这个系统默认的管理帐号去模拟IIS 中应用程序池的用户,来达到对当前用户操作提升权限的效果。这就是说,其实在提升权限之后的一切操作都是以这个系统帐户(SHAREPOINT\system) 的身份去执行的,所以可以看到,若通过提升权限后进行的对文档库或列表进行添加、修改,在列表项的作者或修改人都会是系统帐户,而不是当前登录那个人的帐户,除非当前登录的人是网站集的管理员。 因为,SPSecurity.RunWithElevatedPrivileges 是通过模拟一个固定的帐户去进行操作,所以就带来了另一个问题,就是当这“代理人”系统帐户对列表或文档没有权限的时候,就像上图那样,系统帐户对列表的权限是受限访问,SPSecurity.RunWithElevatedPrivileges 就会不起作用,而且在代码的层面上很难发现这个问题。所以在需要通过调用SPSecurity.RunWithElevatedPrivileges来提升权限操作的列表或文档库,都需要确保系统帐户(SHAREPOINT\system)在该列表或文档库中存在,并且这个帐户的权限必须为完全控制。 这样调用提升权限时才会成功。
< Field ID = "{7F55A8F0-4555-46BC-B24C-222240B862AF}" Type = "RichHTML" Name = "NewsBodyField" DisplayName = "News Body" StaticName = "NewsBodyField" Hidden = "False" Required = "True" Sealed = "False" /> < Field ID = "{7F55A8F0-4555-46BC-B24C-222240B862AF}" Type = "RichHtmlField" Name = "NewsBodyField" DisplayName = "News Body" StaticName = "NewsBodyField" Hidden = "False" Required = "True" Sealed = "False" /> http://msdn.microsoft.com/en-us/library/ms437580.aspx
4、ItemDeleting中获取SPContext SPContext.Current在EventHandler中的ItemDeleting,也就是事件发生之前是不能获取的,详细解释如下网页,里面有解决办法,看来对底层的东西很不熟悉啊。http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/ccff5abe-07e7-48d6-bf85-ebb3d6397186/ 5、Caml查询的精确匹配时间 caml查询的时候默认是不精确匹配时间的,需要加上一个属性,就是 IncludeTimeValue='true' 使得caml查询变成
<
Where
>
<
Eq
>
<
FieldRef Name
=
'
_ModerationStatus
'
/>
<
Value Type
=
'
ModStat
'
>
已批准
Value >
Eq > < Leq > < FieldRef Name = ' " + list.Fields["公告发布时间"].InternalName + @" ' /> < Value Type = ' DateTime ' IncludeTimeValue = ' true ' > " + DateTime .Now.ToString() + @"Z
Value >
Leq >
Where >
这样再查询的话,就是精确匹配时间的查询了。6、WebPart中获取当前页面的ListViewWebPart using
System;
using
System.Runtime.InteropServices;
using
System.Web.UI;
using
System.Web.UI.WebControls;
using
System.Web.UI.WebControls.WebParts;
using
System.Xml.Serialization;
using
System.Xml;
using
System.ComponentModel;
using
Microsoft.SharePoint;
using
Microsoft.SharePoint.WebControls;
using
Microsoft.SharePoint.WebPartPages;
namespace
WebPartDemo5 { [Guid(
"
6aa788c7-9a39-487c-8e9d-31b17c863968
"
)]
public
class
WebPartDemo5 : Microsoft.SharePoint.WebPartPages.WebPart {
private
string
_strText; [Personalizable] [WebBrowsable] [WebDisplayName(
"
请输入一段文字
"
)] [WebDescription(
"
Web Part上将会出现这段文字
"
)] [Category(
"
个性设置
"
)]
public
string
StrText {
get
{
return
_strText; }
set
{ _strText
=
value; } }
public
WebPartDemo5() { }
protected
override
void
OnLoad(EventArgs e) {
base
.OnLoad(e);
try
{
foreach
(Microsoft.SharePoint.WebPartPages.WebPart wp
in
this
.Zone.WebParts) {
if
(wp
is
Microsoft.SharePoint.WebPartPages.ListViewWebPart) {
this
.Controls.Add(
new
LiteralControl(StrText)); Microsoft.SharePoint.WebPartPages.ListViewWebPart listWp
=
wp
as
Microsoft.SharePoint.WebPartPages.ListViewWebPart; XmlDocument doc
=
new
XmlDocument(); doc.LoadXml(listWp.ListViewXml); XmlNode node
=
doc.DocumentElement.SelectSingleNode(
"
Query
"
); node.InnerXml
=
@"
史
"
; listWp.ListViewXml
=
doc.InnerXml;
break
; } } }
catch
(Exception ex) {
this
.Controls.Add(
new
LiteralControl(ex.Message)); } } } }
7、2009-2-25更新 1)两个应用的Session是不通用的,也就是说在一个应用中存储一个session["username"],在另外一个应用中不能获取,另外一个应用存储的session["username"]和前一个应用的不是一回事,互相不能访问,他们在不同的会话中。 2) 两个应用对应的是两个本地目录。 3)同一个应用的,不同网站集之间session可以互相访问,也就是同一个会话。不同的网站集在同一个本地目录。 4)不同应用,不同网站集之间获取数据没有问题 上面的都是我用下面这个用户控件检测出来的结果,代码如下
Html
<% @ Control Language = " C# " AutoEventWireup = " true " CodeBehind = " UCDemo.ascx.cs " Inherits = " WebApp.UCDemo " %> <% @ Register Assembly = " Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c " Namespace= " Microsoft.SharePoint.WebControls " TagPrefix = " cc1 " %> < div > < br /> < fieldset >< legend > app1的任务
legend > < asp:Button ID ="Button3" runat ="server" Text ="获取app1's任务" onclick ="Button3_Click" /> < cc1:SPGridView ID ="SPGVAPP1" AutoGenerateColumns ="false" runat ="server" > < Columns > < cc1:SPBoundField DataField ="Title" >
cc1:SPBoundField >
Columns >
cc1:SPGridView >
fieldset > < fieldset >< legend > app2的任务
legend > < asp:Button ID ="Button4" runat ="server" Text ="获取app2's任务" onclick ="Button4_Click" /> < cc1:SPGridView ID ="SPGVAPP2" AutoGenerateColumns ="false" runat ="server" > < Columns > < cc1:SPBoundField DataField ="Title" >
cc1:SPBoundField >
Columns >
cc1:SPGridView >
fieldset > < fieldset >< legend > app2's anotherSite的任务
legend > < asp:Button ID ="Button5" runat ="server" Text ="app2's anotherSite的任务" onclick ="Button5_Click" /> < cc1:SPGridView ID ="SPGVANOSITE" AutoGenerateColumns ="false" runat ="server" > < Columns > < cc1:SPBoundField DataField ="Title" >
cc1:SPBoundField >
Columns >
cc1:SPGridView >
fieldset > < asp:Button ID ="Button2" runat ="server" onclick ="Button2_Click" Text ="获取当前Session["UserName"]" /> < br /> 当前用户是:< asp:Label ID ="lblUserName" runat ="server" BorderStyle ="Solid" BorderWidth ="1px" Text ="Label" Width ="166px" >
asp:Label > < br /> < br /> 输入当前用户名:< asp:TextBox ID ="txtUserName" runat ="server" style ="margin-bottom: 0px" >
asp:TextBox > < br /> < asp:Button ID ="Button1" runat ="server" onclick ="Button1_Click" Text ="设置Session["UserName"]" /> < br />
div >
后台C#代码
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Xml; using Microsoft.SharePoint; namespace WebApp { public partial class UCDemo : System.Web.UI.UserControl { private string app1SiteUrl; private string app1DomainUrl; private string app1WebUrl; private string app2SiteUrl; private string app2DomainUrl; private string app2WebUrl; private string anotherSiteSiteUrl; private string anotherSiteWebUrl; private string anotherSiteDomainUrl; protected void Page_Load( object sender, EventArgs e) { XmlDocument doc = new XmlDocument(); doc.Load(Server.MapPath( @" ~\wpresources\UCDemo.xml " )); app1SiteUrl = doc.SelectSingleNode( " /root/app1/site " ).Attributes[ " url " ].Value; app1DomainUrl = doc.SelectSingleNode( " /root/app1/domain " ).Attributes[ " url " ].Value; app2SiteUrl = doc.SelectSingleNode( " /root/app2/site " ).Attributes[ " url " ].Value; app2DomainUrl = doc.SelectSingleNode( " /root/app2/domain " ).Attributes[ " url " ].Value; anotherSiteSiteUrl = doc.SelectSingleNode( " /root/anotherSite/site " ).Attributes[ " url " ].Value; anotherSiteDomainUrl = doc.SelectSingleNode( " /root/anotherSite/domain " ).Attributes[ " url " ].Value; } protected void Button2_Click( object sender, EventArgs e) { if (Session[ " UserName " ] != null ) { lblUserName.Text = ( string )Session[ " UserName " ]; } else { lblUserName.Text = " No Session[\ " UserName\ " ] " ; } } protected void Button1_Click( object sender, EventArgs e) { if ( ! string .IsNullOrEmpty(txtUserName.Text)) { Session[ " UserName " ] = txtUserName.Text; } } /// /// app1's 任务 /// ///
///
protected void Button3_Click( object sender, EventArgs e) { using (SPSite site = new SPSite(app1SiteUrl)) { using (SPWeb web = site.RootWeb) { SPList list = web.Lists[ " 任务 " ]; DataTable dt = list.Items.GetDataTable(); SPGVAPP1.DataSource = dt; SPGVAPP1.DataBind(); } } } /// /// app2's task /// ///
///
protected void Button4_Click( object sender, EventArgs e) { using (SPSite site = new SPSite(app2SiteUrl)) { using (SPWeb web = site.RootWeb) { SPList list = web.Lists[ " 任务 " ]; DataTable dt = list.Items.GetDataTable(); SPGVAPP2.DataSource = dt; SPGVAPP2.DataBind(); } } } /// /// app2's anotherSite的任务 /// ///
///
protected void Button5_Click( object sender, EventArgs e) { using (SPSite site = new SPSite(anotherSiteSiteUrl)) { using (SPWeb web = site.RootWeb) { SPList list = web.Lists[ " 任务 " ]; DataTable dt = list.Items.GetDataTable(); SPGVANOSITE.DataSource = dt; SPGVANOSITE.DataBind(); } } } } }
用到的XML文件
xml version="1.0" encoding="utf-8" ?> < root > < app1 > < site url ="http://www.app1.com:8000" >
site > < domain url ="http://www.app1.com:8000" >
domain > < web url ="" >
web >
app1 > < app2 > < site url ="http://www.app1.com:8000" >
site > < domain url ="http://www.app1.com:8000" >
domain > < web url ="" >
web >
app2 > < anotherSite > < site url ="http://www.app2.com:8001/sites/anotherSite" >
site > < domain url ="http://www.app2.com:8001" >
domain > < web url ="" >
web >
anotherSite >
root >
在下面总结了我找到的关于sharepoint开发知识点的博客链接,我会一直不断的更新,如果博客的主人认为有问题的话,可以联系我,谢谢这些博客的主人为大家做的总结。 本文档会一直更新,添加新的博客链接,希望可以给大家一些帮助。 1、WSS3.0开发-过滤列表内容(2)--一个增强的列表元数据查询webpart(SmartQueryWebPart) http://www.cnblogs.com/jianyi0115/archive/2008/02/15/1070158.html#1083879 2、WSS3.0开发-过滤列表内容(1) http://www.cnblogs.com/jianyi0115/archive/2008/02/05/1034505.html 3、这是一篇博客,里面有很多的精彩链接,sql的,设计模式的,反正很多了,就记录了下来http://www.cnblogs.com/ASPNET2008/archive/2008/12/25/1361167.html 4、一份详尽的IPC$入侵资料http://www.xfocus.net/articles/200303/493.html 5、开启SharePoint页面的Session功能 http://www.cnblogs.com/zygoses2gether/archive/2006/06/29/438781.html 6、SPSiteDataQuery Samples for WSS v3http://blog.thekid.me.uk/archive/2007/02/27/spsitedataquery-samples-for-wss-v3.aspx 7、Search results are incomplete when you use a CAML query that uses the SPSiteDataQuery class to search content on a SharePoint Server site or on a Windows SharePoint Services 3.0 sitehttp://support.microsoft.com/kb/946484/en-us/ 8、XML results using SPSiteDataQuery in SharePointhttp://blog.thekid.me.uk/archive/2007/02/25/xml-results-using-spsitedataquery-in-sharepoint.aspx 9、给WSS页面添加访问计数器---太easy,太cool了 http://www.cnblogs.com/jianyi0115/archive/2007/12/18/1005072.html 10、一个非常有用的webpart--文档列表添加文件夹树 http://www.cnblogs.com/jianyi0115/archive/2007/11/19/964848.html 11、moss文档浏览次数统计之兄弟篇--哈哈,列表项的浏览次数统计 http://www.cnblogs.com/jianyi0115/archive/2008/01/08/1029915.html 12、SharePoint 2007中 利用ListViewWebpart 和DataViewWebpart 跨站点 调用列表或者文档库 http://www.cnblogs.com/Jianchidaodi/archive/2008/01/16/1041108.html 13、SharePoint开发中对ListViewWebPart的几个操作 http://www.cnblogs.com/rippleyong/archive/2008/10/28/1321412.html 14、SPGridView 研究笔记 Part 3 - 分组 http://blog.csdn.net/ericfine/ 15、用SPGridView显示SharePoint内容 http://blog.joycode.com/erucy/archive/2008/07/30/115207.aspx 16、强大的SPGridView http://www.cnblogs.com/jianyi0115/archive/2008/04/03/1136816.html 17、SPDataSource Mystery Modes: Webs & ListOfListshttp://solutionizing.net/2008/09/09/spdatasource-mystery-modes-webs-listoflists/ 18、Walkthrough:SPDataSource CrossList mode example code in C# http://www.cnblogs.com/windbell/archive/2008/09/03/1281230.html 19、如何取到MOSS列表中item的链接 http://www.cnblogs.com/carysun/archive/2008/12/04/itemurl.html 20/ Batch Updating List Items in Windows SharePoint Services 3.0http://msdn.microsoft.com/en-us/library/cc404818.aspx#Mtps_DropDownFilterText 21、Take it easy:Creating SPGridView in WebPart http://www.cnblogs.com/windbell/archive/2008/08/29/1279085.html 22、SPFieldType Enumeration (Microsoft.SharePoint)http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx
23、SharePoint,如何在WebPart中访问页面上的其他WebParthttp://soft.zdnet.com.cn/software_zone/2007/1031/595664.shtml
24.、在WSS/MOSS中使用SPQuery分页 http://www.cnblogs.com/dotnba/archive/2007/11/19/964004.html
25/、 初学使用sharepoint 2007 用户控件包装器 QuickPart http://www.cnblogs.com/cxd4321/archive/2007/08/28/873326.html 26 、http://wanghao-3.cnblogs.com/ http://wanghao-3.cnblogs.com/ 27、 MenuItemTemplate回发处理 http://www.cnblogs.com/duke008/archive/2009/01/04/1368053.html 28、SharePoint field objects - classname, name and types http://www.sharepointblogs.com/tonstegeman/archive/2007/07/23/sharepoint-field-objects-classname-name-and-types.aspx 29/ ASP.NET中的resx文件 Localization in ASP.NET 2.0http://www.ondotnet.com/pub/a/dotnet/2005/08/08/localizingaspnet20.html
30、如何最方便的创建SharePoint解决方案包?http://blog.podlook.com/blog/blog-joycode-com-MainFeed-aspx/104276-aspx.htm http://www.cnblogs.com/aivdesign/articles/1298952.html
31、基于AD的用户组织目录树选择工具的解决方案 http://www.cnblogs.com/lickies/archive/2009/01/22/1379734.html
32、Microsoft 官方 【Web 内容管理 】http://office.microsoft.com/zh-cn/sharepointserver/CH101785902052.aspx 33、[Best Practice]WSPBuilder和QuickPart合作进行Web Partk可视化开发与部署的好方法 http://blog.joycode.com/ipark/archive/2009/01/16/115436.aspx 34、patterns & practices SharePoint Guidance http://www.codeplex.com/spg 35、[Best Practice]如何在SharePoint团队开发中利用WSPBuilder http://blog.joycode.com/ipark/archive/2009/01/15/115435.aspx 36、MOSS中文社区http://www.mosstec.cn/default.htm 37、http://www.colladec.com/ CollaDec,Web部件管理器、事件处理程序管理器、FriendlyQuery类库 38、命令行操作
本主题列出并说明了利用 Stsadm.exe 可执行的操作。有关必选和可选参数以及参数的缩写形式的详细信息,请参阅命令行参数 。有关命令行工具使用的详细信息,请参阅“Windows SharePoint Services 管理员指南”中的“Windows SharePoint Services 管理工具简介”。
http://www.suifenhe.gov.cn/_vti_bin/help/2052/sps/html/stsk01.htm#stsk01_createweb 39、Team-Based Development in Microsoft Office SharePoint Server 2007http://msdn.microsoft.com/en-us/library/bb428899.aspx
40、简单的多语言Webpart
http://www.cnblogs.com/netcai/archive/2008/12/21/1359361.html
41、Microsoft WCM
Customizing and Branding Web Content Management-Enabled SharePoint Sites (Part 1 of 3): Understanding Web Content Management and the Default Features
http://msdn.microsoft.com/en-us/library/aa830818.aspx#Office2007SSBrandingWCMPart1_Conclusion
Customizing and Branding Web Content Management-Enabled SharePoint Sites (Part 2 of 3): Extending WCM
http://msdn.microsoft.com/en-us/library/aa830815.aspx Customizing and Branding Web Content Management-Enabled SharePoint Sites (Part 3 of 3): Creating and Configuring WCM-Enabled Siteshttp://msdn.microsoft.com/en-us/library/aa830817.aspx#Office2007SSBrandingWCMPart3_Conclusion 42、Hide the Sign In link for the anonymous access user in anonymous access enabled site - Bend the Welcome.ascx - SharePoint MOSShttp://blogs.msdn.com/syedi/archive/2008/10/01/hide-the-sign-in-link-for-the-anonymous-access-user-in-anonymous-access-enabled-site-bend-the-welcome-ascx-sharepoint-moss.aspx 43/ 定制内容查询Web部件(Customize Content Query WebPart)系列一:概述http://www.cnblogs.com/ghner/archive/2008/05/20/1203441.html
44/ Best Practices Resource Center for SharePoint Server 2007
http://technet.microsoft.com/en-us/office/sharepointserver/bb736746.aspx
Classname
Type
TypeAsString
TypeDisplayName
TypeShortDescription
Microsoft.SharePoint.SPFieldBoolean
Boolean
Boolean
Yes/No
Yes/No (check box)
Microsoft.SharePoint.SPFieldCalculated
Calculated
Calculated
Calculated
Calculated (calculation based on other columns)
Microsoft.SharePoint.SPFieldChoice
Choice
Choice
Choice
Choice (menu to choose from)
Microsoft.SharePoint.SPFieldComputed
Computed
Computed
Computed
Computed
Microsoft.SharePoint.SPFIeld
ContentTypeId
ContentTypeId
Content Type Id
Content Type Id
Microsoft.SharePoint.SPFieldCurrency
Currency
Currency
Currency
Currency ($, ¥, €)
Microsoft.SharePoint.SPFieldDateTime
DateTime
DateTime
Date and Time
Date and Time
Microsoft.SharePoint.SPFieldFile
File
File
File
File
Microsoft.SharePoint.SPField
Guid
Guid
Guid
Guid
Microsoft.SharePoint.SPFieldNumber
Integer
Integer
Integer
Integer
Microsoft.SharePoint.Portal.WebControls.BusinessDataField
Invalid
BusinessData
Business data
Business data
Microsoft.SharePoint.Publishing.Fields.ContentTypeIdFieldType
Invalid
ContentTypeIdFieldType
Content Type Id
Content Type Id
Microsoft.SharePoint.Publishing.Fields.HtmlField
Invalid
HTML
Publishing HTML
Full HTML content with formatting and constraints for publishing
Microsoft.SharePoint.Publishing.Fields.ImageField
Invalid
Image
Publishing Image
Image with formatting and constraints for publishing
Microsoft.SharePoint.Publishing.Fields.LayoutVariationsField
Invalid
LayoutVariationsField
Variations
Page Layout Variations
Microsoft.SharePoint.Publishing.Fields.LinkField
Invalid
Link
Publishing Hyperlink
Hyperlink with formatting and constraints for publishing
Microsoft.SharePoint.Publishing.Fields.PublishingScheduleEndDateField
Invalid
PublishingScheduleEndDateFieldType
Publishing Schedule End Date
Publishing Schedule End Date
Microsoft.SharePoint.Publishing.Fields.PublishingScheduleStartDateField
Invalid
PublishingScheduleStartDateFieldType
Publishing Schedule Start Date
Publishing Schedule Start Date
Microsoft.SharePoint.Publishing.Fields.SummaryLinkField
Invalid
SummaryLinks
SummaryLinks
Summary Links data
Microsoft.Office.Server.WebControls.FieldTypes.SPFieldTargetTo
Invalid
TargetTo
Audience Targeting
Audience Targeting
Microsoft.SharePoint.SPFieldLookup
Lookup
Lookup
Lookup
Lookup (information already on this site)
Microsoft.SharePoint.SPFieldLookup
Lookup
LookupMulti
Lookup
Lookup (information already on this site)
Microsoft.SharePoint.SPFieldNumber
Number
Number
Number
Number (1, 1.0, 100)
Microsoft.SharePoint.SPFieldRecurrence
Recurrence
Recurrence
Recurrence
Recurrence
Microsoft.SharePoint.SPFieldMultiLineText
Note
Note
Multiple lines of text
Multiple lines of text
Microsoft.SharePoint.SPFieldText
Text
Text
Single line of text
Single line of text
Microsoft.SharePoint.SPFieldUrl
URL
URL
Hyperlink or Picture
Hyperlink or Picture
Microsoft.SharePoint.SPFieldUser
User
User
Person or Group
Person or Group
(一)在页面上添加webpart的时候,webpart内部方法的调用顺序 1、点击添加webpart之后 构造函数 构造函数 OnInit OnLoad CreateChildControls OnPreRender OnUnload 2、点击退出编辑模式之后 构造函数 OnInit OnLoad CreateChildControls OnPreRender OnUnload (二)添加完毕,刷新页面的时候,呈现控件的时候,webpart内部方法的调用顺序 构造函数 OnInit OnLoad CreateChildControls OnPreRender(对子控件操作最后起作用的方法) OnUnload(对子控件的操作不起作用了) 调用this.EnsureChildControls()之后会判断,子控件是否被创建,如果没有就会调用CreateChildControls() (三)下面为ListViewWebPart的ListViewXml
100
"><tr><td ]] colspan="100"><switch><expr><getvar name="GroupByIndent" /></expr><case value="0"></case><default></default></switch><![CDATA[ nowrap><img alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="]]" height="1" /><getvar name="GroupByIndent" /><![CDATA[><a onclick="javascript:ExpCollGroup('
');return false;"><img id="img_]] alt=" src="http://www.cnblogs.com/virusswb/admin/" ? /> <getvar GroupByLevelString? name=" src=" ? admin virusswb www.cnblogs.com http:>展开/折叠<![CDATA[" border="0"></a> ]]><getvar name="GroupByLevelString" /><getvar name="GroupByLevelString" /><![CDATA[');return false;">]]><getvar name="GroupByField" htmlencode="TRUE" /><![CDATA[</a> : ]]><getvar name="GroupByValue" /><![CDATA[</TD> </tr></groupbyheader><groupbyfooter><switch><expr><getvar name="GroupByIndent" /></expr><case value="0"><getvar name="GroupByLevelString" /><![CDATA[_"></case><default /></switch><switch><expr><getvar name="GroupByCollapse" /></expr><case value="TRUE"><![CDATA[ <SCRIPT>ExpCollGroup(']]><GETVAR Name="GroupByLevelString" /><GETVAR Name="GroupByLevelString" /><![CDATA[');</SCRIPT>]]></case><default /></switch></groupbyfooter><viewheader><![CDATA[ <TABLE width="100%" cellspacing="0" cellpadding="0" border="0"> ]]><![CDATA[ <SCRIPT><BR> ctx = new ContextInfo();<BR> ctx.listBaseType = ]]> <LISTPROPERTY Select="BaseType" /><![CDATA[;<BR> ctx.listTemplate = ]]> <LISTPROPERTY Select="ServerTemplate" /><![CDATA[;<BR> ctx.listName = ]]> <SCRIPTQUOTE> <LIST /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.view = ]]> <SCRIPTQUOTE><GETVAR Name="View" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.listUrlDir = ]]> <SCRIPTQUOTE> <LISTURLDIR ServerRel="TRUE" URLEncodeAsURL="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.HttpPath = ]]> <SCRIPTQUOTE><HTTPPATH ServerRel="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.HttpRoot = ]]> <SCRIPTQUOTE><HTTPVDIR /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.imagesPath = ]]> <SCRIPTQUOTE>/_layouts/images/</SCRIPTQUOTE> <![CDATA[;<BR> ctx.PortalUrl = ]]> <SCRIPTQUOTE> <PROJECTPROPERTY Select="PortalUrl" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.SendToLocationName = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="SendToLocationName" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.SendToLocationUrl = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="SendToLocationUrl" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.RecycleBinEnabled = ]]> <PROJECTPROPERTY Select="RecycleBinEnabled" /><![CDATA[;<BR> ctx.OfficialFileName = ]]> <SCRIPTQUOTE><SERVERPROPERTY Select="OfficialFileName" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.WriteSecurity = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="WriteSecurity" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.SiteTitle = ]]> <SCRIPTQUOTE> <PROJECTPROPERTY Select="Title" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.ListTitle = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="Title" /></SCRIPTQUOTE> <![CDATA[;<BR> if (ctx.PortalUrl == "") ctx.PortalUrl = null;<BR> ctx.displayFormUrl = ]]> <SCRIPTQUOTE><URL Cmd="DISPLAY" NoID="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.editFormUrl = ]]> <SCRIPTQUOTE><URL Cmd="EDIT" NoID="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.isWebEditorPreview = ]]><SWITCH><EXPR><GETVAR Name="WebEditorPreview" /></EXPR><CASE Value="TRUE">1</CASE><DEFAULT>0</DEFAULT></SWITCH><![CDATA[;<BR> ctx.ctxId = ]]><COUNTER Type="View" /><![CDATA[;<BR> g_ViewIdToViewCounterMap[ ]]> <SCRIPTQUOTE><GETVAR Name="View" /></SCRIPTQUOTE> <COUNTER Type="View" /><![CDATA[;<BR> ctx.CurrentUserId = ]]><USERID AllowAnonymous="TRUE" /><![CDATA[;<BR> ]]><SWITCH><EXPR> <LISTPROPERTY Select="ModeratedList" /></EXPR><CASE Value="1"><BR> ctx.isModerated = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="ForceCheckout" /></EXPR><CASE Value="1"><BR> ctx.isForceCheckout = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="EnableMinorVersions" /></EXPR><CASE Value="1"><BR> ctx.EnableMinorVersions = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="VersioningEnabled" /></EXPR><CASE Value="1"><BR> ctx.verEnabled = 1;<BR> </CASE></SWITCH><SWITCH><EXPR><GETVAR Name="RecursiveView" /></EXPR><CASE Value="1"><BR> ctx.recursiveView = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="WorkflowsAssociated" /></EXPR><CASE Value="1"><BR> ctx.WorkflowsAssociated = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="EnableContentTypes" /></EXPR><CASE Value="1"><BR> ctx.ContentTypesEnabled = true;<BR> </CASE></SWITCH><![CDATA[ <BR> ctx]]><COUNTER Type="View" /><![CDATA[ = ctx;<BR> </SCRIPT> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="ltr"><![CDATA[ <SCRIPT>FixTextAlignForBidi("left");</SCRIPT>]]></case><case value="rtl"><![CDATA[ <SCRIPT>FixTextAlignForBidi("right");</SCRIPT> ]]></case></switch><![CDATA[ <SCRIPT LANGUAGE="VBSCRIPT"><BR> On Error Resume Next<BR> Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.3")<BR> If (IsObject(EditDocumentButton)) Then<BR> fNewDoc3 = true<BR> Else<BR> Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.2")<BR> If (IsObject(EditDocumentButton)) Then<BR> fNewDoc2 = true<BR> Else<BR> Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.1")<BR> End If<BR> End If <BR> fNewDoc = IsObject(EditDocumentButton)<BR> </SCRIPT> <br />]]><![CDATA[ <tr> <td>]]> <listproperty htmlencode="TRUE" select="Direction" /><listproperty htmlencode="TRUE" select="Title" /><![CDATA["><tr class="ms-viewheadertr" valign="TOP">]]><counter type="View" /><counter type="View" />隐藏的筛选器列表框架<filterlink paged="FALSE" htmlencode="TRUE" /><![CDATA[">]]><fields><switch><expr> <property select="Name"></property></expr><case value="Attachments"><![CDATA[<TH nowrap scope="col" class="ms-vh-icon">]]><ifequal><expr1><getvar name="Plain" /></expr1><expr2>TRUE</expr2><then><field /></then><else><![CDATA[ <div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" Sortable? htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" width="100%" noWrap>]]><field /><![CDATA[</TD> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="rtl"><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td>]]></case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]></default></switch><![CDATA[ </TR> </tr></table> <div></div>]]></else></ifequal><![CDATA[</TH>]]></case><default><switch><expr> <property select="Type"></property></expr><case value="Note"><![CDATA[<TH nowrap scope="col" class="ms-vh2-nograd">]]><field /><![CDATA[</TH>]]></case><default><switch><expr> <property select="Filterable"></property></expr><case value="FALSE"><switch><expr><property select="Sortable"></property></expr><case value="FALSE"><switch><expr><property select="Name"></property></expr><case value="SelectedFlag"><![CDATA[<TH nowrap scope="col" class="ms-vh3-nograd">]]><field /><![CDATA[</TH>]]></case><default><switch><expr> <property select="Type"></property><property select="ShowFieldImnHeader"></property><presenceenabled /></expr><case value="UserTRUETRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh">]]><field /><![CDATA[</TH>]]></case><case value="UserMultiTRUETRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh">]]><field /><![CDATA[</TH>]]></case><default><![CDATA[<TH nowrap scope="col" class="ms-vh2-nograd">]]><field /><![CDATA[</TH>]]></default></switch></default></switch></case><default><switch><expr> <property select="SortDisable"></property></expr><case value="TRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh2-nograd">]]><field /><![CDATA[</TH>]]></case><default><![CDATA[<TH nowrap scope="col" class="ms-vh2">]]><ifequal><expr1><getvar name="Plain" /></expr1><expr2>TRUE</expr2><then><field /></then><else><![CDATA[ <div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" Sortable? htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" width="100%" noWrap>]]><field /><![CDATA[</TD> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="rtl"><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td>]]></case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]></default></switch><![CDATA[ </TR> </tr></table> <div></div>]]></else></ifequal><![CDATA[</TH>]]></default></switch></default></switch></case><default><switch><expr> <property select="Type"></property><property select="ShowFieldImnHeader"></property><presenceenabled /></expr><case value="UserTRUETRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh">]]><ifequal><expr1><getvar name="Plain" /></expr1><expr2>TRUE</expr2><then><field /></then><else><![CDATA[ <div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" Sortable? htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" width="100%" noWrap>]]><field /><![CDATA[</TD> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="rtl"><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td>]]></case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]></default></switch><![CDATA[ </TR> </tr></table> <div></div>]]></else></ifequal><![CDATA[</TH>]]></case><case value="UserMultiTRUETRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh">]]><ifequal><expr1><getvar name="Plain" /></expr1><expr2>TRUE</expr2><then><field /></then><else><![CDATA[ <div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" Sortable? htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" width="100%" noWrap>]]><field /><![CDATA[</TD> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="rtl"><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td>]]></case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]></default></switch><![CDATA[ </TR> </tr></table> <div></div>]]></else></ifequal><![CDATA[</TH>]]></case><default><switch><expr> <property select="HeaderImage"></property></expr><case value=""><![CDATA[<TH nowrap scope="col" class="ms-vh2">]]><ifequal><expr1><getvar name="Plain" /></expr1><expr2>TRUE</expr2><then><field /></then><else><![CDATA[ <div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" Sortable? htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" width="100%" noWrap>]]><field /><![CDATA[</TD> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="rtl"><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td>]]></case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]></default></switch><![CDATA[ </TR> </tr></table> <div></div>]]></else></ifequal><![CDATA[</TH>]]></case><default><![CDATA[<TH nowrap scope="col" class="ms-vh-icon">]]><ifequal><expr1><getvar name="Plain" /></expr1><expr2>TRUE</expr2><then><field /></then><else><![CDATA[ <div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" Sortable? htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" width="100%" noWrap>]]><field /><![CDATA[</TD> ]]><switch><expr> <listproperty select="Direction" /></expr><case value="rtl"><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td>]]></case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]></default></switch><![CDATA[ </TR> </tr></table> <div></div>]]></else></ifequal><![CDATA[</TH>]]></default></switch></default></switch></default></switch></default></switch></default></switch></fields><![CDATA[ </TR> ]]></viewheader><viewbody><getvar name="AlternateStyle" /><![CDATA[">]]><ifequal><expr1><getvar name="AlternateStyle" /></expr1><expr2>ms-alternating</expr2><then><setvar name="AlternateStyle" scope="Request" /></then><else><setvar name="AlternateStyle" scope="Request">ms-alternating</setvar></else></ifequal><fields><fieldswitch><expr> <property select="ClassInfo"></property></expr><case value="Menu"></case><case value="Icon">ms-vb-icon</case><default><fieldswitch><expr> <property select="Type"></property><presenceenabled /></expr><case value="UserTRUE">ms-vb-user</case><case value="UserMultiTRUE">ms-vb-user</case><default>ms-vb2</default></fieldswitch></default></fieldswitch><![CDATA[">]]><field /><![CDATA[</TD> ]]></fields><![CDATA[ </TR> ]]></viewbody><viewfooter><![CDATA[ </TABLE> ]]><ifequal><expr1><getvar name="SearchString" /></expr1><expr2 /><then /><else><![CDATA[ <TABLE width="100%" border="0"> <tr><td class="ms-descriptiontext">搜索结果中显示最近的项目需要花费几分钟时间。</td> </tr></table>]]></else></ifequal><![CDATA[</td> </tr></table>]]></viewfooter> <pagedrowset><![CDATA[ <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="ms-bottompaging"><br /><tr><td class="ms-bottompagingline1"><img alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="1" height="1" /></td> </tr><br /><tr><td class="ms-bottompagingline2"><img alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="1" height="1" /></td> </tr><br /><tr><td id="bottomPagingCell
"> <table>]]><switch><expr><getvar name="PrevPageData" /></expr><case value="" /><default><![CDATA[ <td><a onclick='javascript:SubmitFormPost("
?
");javascript:return false;' href="javascript:">]]><![CDATA[<img src="/_layouts/2052/images/prev.gif" border=0 alt="上一步" /></A></TD> ]]></DEFAULT></SWITCH><![CDATA[ <td nowrap class="ms-paging">]]><GETVAR Name="PageFirstRow" HTMLEncode="TRUE" />-<GETVAR Name="PageLastRow" HTMLEncode="TRUE" /><![CDATA[</td> ]]><SWITCH><EXPR><GETVAR Name="NextPageData" /></EXPR><CASE Value="" /><DEFAULT><![CDATA[ <td> <BR> <A onclick='javascript:SubmitFormPost("
?
");javascript:return false;' href="javascript:">]]><![CDATA[<img src="/_layouts/2052/images/next.gif" border=0 alt="下一步" /></A></TD> ]]></DEFAULT></SWITCH><![CDATA[ </tr> </TABLE> </TD> </TR> <BR> <TR> <TD class=ms-bottompagingline3><IMG height=1 alt="" src="/_layouts/images/blank.gif" width=1></TD> </TR> <BR> </TABLE> ]]><![CDATA[<BR> <SCRIPT><BR>   var topPagingCell = document.getElementById("topPagingCell
");<BR>   var bottomPagingCell = document.getElementById("bottomPagingCell
");<BR>   if (topPagingCell != null && bottomPagingCell != null)<BR>   {<BR>     topPagingCell.innerHTML = bottomPagingCell.innerHTML;<BR>   }<BR> </SCRIPT> <br />
<TR> <td></td> <td class="ms-vb" align="left">
?
?
");javascript:return false;'>]]><![CDATA[</A> ]]></DEFAULT></SWITCH><![CDATA[</TD> </TR> ]]></PAGEDCLIENTCALLBACKROWSET> <PAGEDRECURRENCEROWSET><![CDATA[ <TABLE width="100%" border=0> <TR> <TD  class=ms-vb nowrap>]]><SWITCH><EXPR><GETVAR Name="PrevPageData" /></EXPR><CASE Value="" /><DEFAULT><![CDATA[ <A id=onetidPrev HREF=<BR> "javascript:" OnClick='javascript:SubmitFormPost("]]> <SCRIPTQUOTE NotAddingQuote="TRUE"> <PAGEURL />?<GETVAR Name="PrevPageData" /></SCRIPTQUOTE> <![CDATA[");javascript:return false;'<BR> ><IMG alt=上一步 src="/_layouts/2052/images/prev.gif" border=0></A><BR> <A href="<BR"> "javascript:" OnClick='javascript:SubmitFormPost("]]> <SCRIPTQUOTE NotAddingQuote="TRUE"> <PAGEURL />?<GETVAR Name="PrevPageData" /></SCRIPTQUOTE> <![CDATA[");javascript:return false;'<BR> >]]>上一步<![CDATA[</A>]]></DEFAULT></SWITCH><![CDATA[</TD> <TD class=ms-vb align="right" nowrap>]]><SWITCH><EXPR><GETVAR Name="NextPageData" /></EXPR><CASE Value="" /><DEFAULT><![CDATA[<A HREF=<BR> "javascript:" OnClick='javascript:SubmitFormPost("]]> <SCRIPTQUOTE NotAddingQuote="TRUE"> <PAGEURL />?<GETVAR Name="NextPageData" /></SCRIPTQUOTE> <![CDATA[");javascript:return false;'<BR> >]]>下一步<![CDATA[</A><BR> <A id=onetidNext href="<BR"> "javascript:" OnClick='javascript:SubmitFormPost("]]> <SCRIPTQUOTE NotAddingQuote="TRUE"> <PAGEURL />?<GETVAR Name="NextPageData" /></SCRIPTQUOTE> <![CDATA[");javascript:return false;'<BR> ><IMG alt=下一步 src="/_layouts/2052/images/next.gif" border=0></A> ]]></DEFAULT></SWITCH><![CDATA[</TD> </TR> </TABLE> ]]></PAGEDRECURRENCEROWSET> <VIEWEMPTY><![CDATA[ <SCRIPT><BR> ctx = new ContextInfo();<BR> ctx.listBaseType = ]]> <LISTPROPERTY Select="BaseType" /><![CDATA[;<BR> ctx.listTemplate = ]]> <LISTPROPERTY Select="ServerTemplate" /><![CDATA[;<BR> ctx.listName = ]]> <SCRIPTQUOTE> <LIST /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.view = ]]> <SCRIPTQUOTE><GETVAR Name="View" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.listUrlDir = ]]> <SCRIPTQUOTE> <LISTURLDIR ServerRel="TRUE" URLEncodeAsURL="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.HttpPath = ]]> <SCRIPTQUOTE><HTTPPATH ServerRel="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.HttpRoot = ]]> <SCRIPTQUOTE><HTTPVDIR /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.imagesPath = ]]> <SCRIPTQUOTE>/_layouts/images/</SCRIPTQUOTE> <![CDATA[;<BR> ctx.PortalUrl = ]]> <SCRIPTQUOTE> <PROJECTPROPERTY Select="PortalUrl" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.SendToLocationName = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="SendToLocationName" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.SendToLocationUrl = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="SendToLocationUrl" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.RecycleBinEnabled = ]]> <PROJECTPROPERTY Select="RecycleBinEnabled" /><![CDATA[;<BR> ctx.OfficialFileName = ]]> <SCRIPTQUOTE><SERVERPROPERTY Select="OfficialFileName" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.WriteSecurity = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="WriteSecurity" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.SiteTitle = ]]> <SCRIPTQUOTE> <PROJECTPROPERTY Select="Title" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.ListTitle = ]]> <SCRIPTQUOTE> <LISTPROPERTY Select="Title" /></SCRIPTQUOTE> <![CDATA[;<BR> if (ctx.PortalUrl == "") ctx.PortalUrl = null;<BR> ctx.displayFormUrl = ]]> <SCRIPTQUOTE><URL Cmd="DISPLAY" NoID="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.editFormUrl = ]]> <SCRIPTQUOTE><URL Cmd="EDIT" NoID="TRUE" /></SCRIPTQUOTE> <![CDATA[;<BR> ctx.isWebEditorPreview = ]]><SWITCH><EXPR><GETVAR Name="WebEditorPreview" /></EXPR><CASE Value="TRUE">1</CASE><DEFAULT>0</DEFAULT></SWITCH><![CDATA[;<BR> ctx.ctxId = ]]><COUNTER Type="View" /><![CDATA[;<BR> g_ViewIdToViewCounterMap[ ]]> <SCRIPTQUOTE><GETVAR Name="View" /></SCRIPTQUOTE> <COUNTER Type="View" /><![CDATA[;<BR> ctx.CurrentUserId = ]]><USERID AllowAnonymous="TRUE" /><![CDATA[;<BR> ]]><SWITCH><EXPR> <LISTPROPERTY Select="ModeratedList" /></EXPR><CASE Value="1"><BR> ctx.isModerated = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="ForceCheckout" /></EXPR><CASE Value="1"><BR> ctx.isForceCheckout = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="EnableMinorVersions" /></EXPR><CASE Value="1"><BR> ctx.EnableMinorVersions = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="VersioningEnabled" /></EXPR><CASE Value="1"><BR> ctx.verEnabled = 1;<BR> </CASE></SWITCH><SWITCH><EXPR><GETVAR Name="RecursiveView" /></EXPR><CASE Value="1"><BR> ctx.recursiveView = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="WorkflowsAssociated" /></EXPR><CASE Value="1"><BR> ctx.WorkflowsAssociated = true;<BR> </CASE></SWITCH><SWITCH><EXPR> <LISTPROPERTY Select="EnableContentTypes" /></EXPR><CASE Value="1"><BR> ctx.ContentTypesEnabled = true;<BR> </CASE></SWITCH><![CDATA[ <BR> ctx]]><COUNTER Type="View" /><![CDATA[ = ctx;<BR> </SCRIPT>
<SCRIPT>FixTextAlignForBidi("left");</SCRIPT>
<SCRIPT>FixTextAlignForBidi("right");</SCRIPT>
"> <tr> <td>
border=0> <tr class="ms-viewheadertr">
隐藏的筛选器列表框架
">
<TH nowrap scope="col" class="ms-vh-icon">
TRUE
<div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" noWrap width="100%">
</TD>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
</TR> </tr> </table> <div></div>
</TH>
<TH nowrap scope="col" class="ms-vh2-nograd">
</TH>
<TH nowrap scope="col" class="ms-vh3-nograd">
</TH>
<TH nowrap scope="col" class="ms-vh">
</TH>
<TH nowrap scope="col" class="ms-vh">
</TH>
<TH nowrap scope="col" class="ms-vh2-nograd">
</TH>
<TH nowrap scope="col" class="ms-vh2-nograd">
</TH>
<TH nowrap scope="col" class="ms-vh2">
TRUE
<div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" noWrap width="100%">
</TD>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
</TR> </tr> </table> <div></div>
</TH>
<TH nowrap scope="col" class="ms-vh">
TRUE
<div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" noWrap width="100%">
</TD>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
</TR> </tr> </table> <div></div>
</TH>
<TH nowrap scope="col" class="ms-vh">
TRUE
<div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" noWrap width="100%">
</TD>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
</TR> </tr> </table> <div></div>
</TH>
<TH nowrap scope="col" class="ms-vh2">
TRUE
<div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" noWrap width="100%">
</TD>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
</TR> </tr> </table> <div></div>
</TH>
<TH nowrap scope="col" class="ms-vh-icon">
TRUE
<div style="width:100%;position:relative;left:0;top:0;"> <table style="width: 100%" htmlencode="TRUE" sortable="
" height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tr> <td class="ms-vb" noWrap width="100%">
</TD>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
<TD style="position:absolute;"><img style="visibility: hidden" alt="" src="/_layouts/images/blank.gif" width="13" /></td>
</TR> </tr> </table> <div></div>
</TH>
</TR> </TABLE> </td> </tr> <tr> <td> border="0"> <tr>
<TD class="ms-vb"> 该“
”文档库视图中没有可显示的项目。
若要新建文档,请单击上面的“新建”或“上载”。
</TD>
<TD class="ms-vb"><strong>未找到符合查询条件的记录。</strong></td>
TRUE
<TR> <td class="ms-descriptiontext">请参阅“<br /> <a href="javascript:HelpWindowKey(' search_tips?)?>搜索提示<br /> </a>”页以获取有关创建查询的帮助。</td> </tr> <tr>]]></then><else><![CDATA[ <TR> <td class="ms-descriptiontext">搜索结果中显示最近的项目需要花费几分钟时间。</td></tr> <tr>]]></else></ifequal></else></ifequal><![CDATA[ </TR> </tr></table>]]><![CDATA[</td> </tr></table>]]></viewempty><toolbar type="Standard" /></view> <p> </p></strong></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div><div id="MySignature"></div> <div class="clear"></div> <div id="blog_post_info_block"> <div id="blog_post_info"> </div> <div class="clear"></div> <div id="post_next_prev"></div> </div> </div> <ul class="postmetadata"> <li class="icon_cat" id="BlogPostCategory"></li> <li class="icon_bullet" id="EntryTag"></li> </ul> </div> <script type="text/javascript">var allowComments=true,isLogined=false,cb_blogId=28035,cb_entryId=1361986,cb_blogApp=currentBlogApp,cb_blogUserGuid='98793d0b-63cf-dd11-9e4d-001cf0cd104b',cb_entryCreatedDate='2008/12/25 9:40:00';loadViewCount(cb_entryId);</script> <script type="text/javascript"> var m = window.__blog.postRendered; if (m) { m(__$("post")); } </script> <script type="text/javascript"> var m = window.__blog.postRenderPosts; if (m) { m(); } </script> </div><a name="!comments"></a><div id="blog-comments-placeholder"></div><script type="text/javascript">var commentManager = new blogCommentManager();commentManager.renderComments(0);</script> <div id="comment_form" class="commentform"> <a name="commentform"></a> <div id="divCommentShow"></div> <div id="comment_nav"><span id="span_refresh_tips"></span><a href="javascript:void(0);" id="lnk_RefreshComments" onclick="return RefreshCommentList();">刷新评论</a><a href="#" onclick="return RefreshPage();">刷新页面</a><a href="#top">返回顶部</a></div> <div id="comment_form_container"></div> <div class="ad_text_commentbox" id="ad_text_under_commentbox"></div> <div id="site_nav_under"><a href="http://www.cnblogs.com/" target="_blank" title="开发者的网上家园">博客园首页</a><a href="http://q.cnblogs.com/" target="_blank" title="程序员问答社区">博问</a><a href="http://news.cnblogs.com/" target="_blank" title="IT新闻">新闻</a><a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a><a href="http://job.cnblogs.com/" target="_blank">程序员招聘</a><a href="http://kb.cnblogs.com/" target="_blank">知识库</a></div> <div id="opt_under_post"></div> <script type="text/javascript"> var enableGoogleAd = canShowAdsense(); fixPostBodyFormat(); </script> <script type='text/javascript'> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function () { if (enableGoogleAd) { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); } })(); </script> <script type='text/javascript'> try { if (enableGoogleAd) { googletag.cmd.push(function() { googletag.defineSlot('/1090369/cnblogs_blogpost_C2', [468, 60], 'div-gpt-ad-1433581717989-0').addService(googletag.pubads()); googletag.defineSlot('/1090369/cnblogs_blogpost_C1_sitehome', [300, 250], 'div-gpt-ad-1433581717989-1').addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); }; } catch (e) { } </script> <div id="google_ad_c1" class="c_ad_block"> <div id='div-gpt-ad-1433581717989-1' style='height:250px; width:300px;'> <script type='text/javascript'> try { if (enableGoogleAd) { googletag.cmd.push(function () { googletag.display('div-gpt-ad-1433581717989-1'); }); } else { $('#div-gpt-ad-1433581717989-1').hide(); } } catch (e) { } </script> </div> </div> <div id="under_post_news"></div> <div id="google_ad_c2" class="c_ad_block"> <div id='div-gpt-ad-1433581717989-0' style='height:60px; width:468px;'> <script type='text/javascript'> try { if (enableGoogleAd) { googletag.cmd.push(function () { googletag.display('div-gpt-ad-1433581717989-0'); }); } else { $('#div-gpt-ad-1433581717989-0').hide(); } } catch (e) { } </script> </div> </div> <div id="under_post_kb"></div> <div id="HistoryToday" class="c_ad_block"></div> <script type="text/javascript"> $(function () { loadNewsAndKb(); loadBlogSignature(); LoadPostInfoBlock(cb_blogId, cb_entryId, cb_blogApp, cb_blogUserGuid); GetPrevNextPost(cb_entryId, cb_blogId, cb_entryCreatedDate); loadOptUnderPost(); GetHistoryToday(cb_blogId, cb_blogApp, cb_entryCreatedDate); setTimeout(function () { incrementViewCount(cb_entryId); }, 200); }); </script> </div> </div> <script type="text/javascript"> var m = window.__blog.contentRendered; if (m) { m(__$("content")); } </script> <div id="sidebar"> <div id="about"> <div> <h2 id="about_title">About</h2> <div id="about_body"> <div id="blog-news"></div> <script type="text/javascript">loadBlogNews();</script> </div> </div> </div> <script type="text/javascript"> var m = window.__blog.aboutRendered; if (m) { m(__$("about")); } </script> <div id="mySearchWrapper"> <div id="mySearch"> <input type="image" src="/skins/Minyx2_Lite/images/btnsearch.gif" id="btnZzk" class="submit" onclick="zzk_go();return false;"/> <label class="lb_search"><input type="text" id="q" onkeydown="return zzk_go_enter(event);" class="keyword" /></label> </div> </div> <script type="text/javascript"> var m = window.__blog.searchFormRendered; if (m) { m(__$("searchform")); } </script> <div id="sideMain"> </div> <div id="sideRight"> </div> <div id="sideLeft"> </div> <div id="sideContainer"> </div> <script type="text/javascript"> $.ajax({ url: '/' + currentBlogApp + '/mvc/blog/Minyx2_Lite_SideColumn.aspx', data: '{}', type: 'post', dataType: 'text', contentType: 'application/json; charset=utf-8', success: function (data) { if (data) { $("#sideContainer").html(data); loadBlogDefaultCalendar(); loadBlogSideBlocks(); var m = window.__blog.sideContainerRendered; if (m) { m(__$("sideContainer")); } window.__blog.sidebar.__layout(); } } }); </script> </div> <script type="text/javascript"> var m = window.__blog.sidebarRendered; if (m) { m(__$("sidebar")); } </script> <div id="footer"> <p id="logoFoot"> <a href="http://www.spiga.com.mx/" title="Agencia Interactiva Spiga">www.spiga.com.mx</a> </p> <div class="footText"> <p> Copyright ©2015 Virus-BeautyCode </p> <p> <a href="http://www.cnblogs.com">博客园</a> </p> </div> </div> </div> <script type="text/javascript"> var m = window.__blog.wrapperRendered; if (m) { m(__$("wrapper")); } </script> </div> <script type="text/javascript"> var m = window.__blog.containerRendered; if (m) { m(__$("container")); } </script> <!--PageEndHtml Block Begin--> <script language="javascript"> $(document).ready(function(){ <!--推荐反对--> $("body").prepend($("#div_digg").css({ "position" : "fixed", "right" : "0px", "bottom" : "0px", "z-index" : "10", "background-color" : "white", "margin" : "10px", "padding" : "10px", "border" : "1px solid #cccccc"})); }); $(function(){ $("input[name=article_5]").click(function(){ $("textarea[class=comment_textarea]").val("文章不错,支持一下!"); ; }); $("input[name=article_4]").click(function(){ $("textarea[class=comment_textarea]").val("还可以,支持一下!"); ; }); $("input[name=article_3]").click(function(){ $("textarea[class=comment_textarea]").val("一般般,支持一下!"); ; }); $("input[name=article_2]").click(function(){ $("textarea[class=comment_textarea]").val("好像差点,支持一下!"); ; }); $("input[name=article_1]").click(function(){ $("textarea[class=comment_textarea]").val("不及格了~~"); ; }); $("input[name=article_0]").click(function(){ $("textarea[class=comment_textarea]").val("有点差劲,支持一下!"); ; }); }); </script> <script type="text/javascript" src="http://files.cnblogs.com/lloydsheng/lighter.js"></script> <script type="text/javascript"> dp.SyntaxHighlighter.HighlightAll('code'); </script> <!--PageEndHtml Block End--> </body> </html>