sharepoint2007开发备用链接

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)不同应用,不同网站集之间获取数据没有问题

上面的都是我用下面这个用户控件检测出来的结果,代码如下


<% @ 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>

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 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 v3
http://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 site
http://support.microsoft.com/kb/946484/en-us/

8、XML results using SPSiteDataQuery in SharePoint
http://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 & ListOfLists
http://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.0
http://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中访问页面上的其他WebPart
http://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.0
http://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 2007
http://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 Sites
http://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 MOSS

http://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" 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 name=" src=" GroupByLevelString? ? http: www.cnblogs.com virusswb admin>展开/折叠<![CDATA[" border="0"></a>&nbsp;]]&gt;<getvar name="GroupByLevelString" /><getvar name="GroupByLevelString" /><![CDATA[');return false;">]]&gt;<getvar name="GroupByField" htmlencode="TRUE" /><![CDATA[</a> :&nbsp;]]&gt;<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(']]&gt;<getvar name="GroupByLevelString" /><getvar name="GroupByLevelString" /><![CDATA[');</SCRIPT>]]&gt;</case><default /></switch></groupbyfooter><viewheader><![CDATA[ <TABLE width="100%" cellspacing="0" cellpadding="0" border="0"> ]]&gt;<![CDATA[ <SCRIPT><br />ctx = new ContextInfo();<br />ctx.listBaseType = ]]&gt; <listproperty select="BaseType" /><![CDATA[;<BR>ctx.listTemplate = ]]&gt; <listproperty select="ServerTemplate" /><![CDATA[;<BR>ctx.listName = ]]&gt; <scriptquote><list /></scriptquote><![CDATA[;<BR>ctx.view = ]]&gt; <scriptquote><getvar name="View" /></scriptquote><![CDATA[;<BR>ctx.listUrlDir = ]]&gt; <scriptquote><listurldir serverrel="TRUE" urlencodeasurl="TRUE" /></scriptquote><![CDATA[;<BR>ctx.HttpPath = ]]&gt; <scriptquote><httppath serverrel="TRUE" /></scriptquote><![CDATA[;<BR>ctx.HttpRoot = ]]&gt; <scriptquote><httpvdir /></scriptquote><![CDATA[;<BR>ctx.imagesPath = ]]&gt; <scriptquote>/_layouts/images/</scriptquote> <![CDATA[;<BR>ctx.PortalUrl = ]]&gt; <scriptquote><projectproperty select="PortalUrl" /></scriptquote><![CDATA[;<BR>ctx.SendToLocationName = ]]&gt; <scriptquote><listproperty select="SendToLocationName" /></scriptquote><![CDATA[;<BR>ctx.SendToLocationUrl = ]]&gt; <scriptquote><listproperty select="SendToLocationUrl" /></scriptquote><![CDATA[;<BR>ctx.RecycleBinEnabled = ]]&gt; <projectproperty select="RecycleBinEnabled" /><![CDATA[;<BR>ctx.OfficialFileName = ]]&gt; <scriptquote><serverproperty select="OfficialFileName" /></scriptquote><![CDATA[;<BR>ctx.WriteSecurity = ]]&gt; <scriptquote><listproperty select="WriteSecurity" /></scriptquote><![CDATA[;<BR>ctx.SiteTitle = ]]&gt; <scriptquote><projectproperty select="Title" /></scriptquote><![CDATA[;<BR>ctx.ListTitle = ]]&gt; <scriptquote><listproperty select="Title" /></scriptquote><![CDATA[;<BR>if (ctx.PortalUrl == "") ctx.PortalUrl = null;<br />ctx.displayFormUrl = ]]&gt; <scriptquote><url cmd="DISPLAY" noid="TRUE" /></scriptquote><![CDATA[;<BR>ctx.editFormUrl = ]]&gt; <scriptquote><url cmd="EDIT" noid="TRUE" /></scriptquote><![CDATA[;<BR>ctx.isWebEditorPreview = ]]&gt;<switch><expr><getvar name="WebEditorPreview" /></expr><case value="TRUE">1</case><default>0</default></switch><![CDATA[;<BR> ctx.ctxId = ]]&gt;<counter type="View" /><![CDATA[;<BR> g_ViewIdToViewCounterMap[ ]]&gt; <scriptquote><getvar name="View" /></scriptquote><counter type="View" /><![CDATA[;<BR>ctx.CurrentUserId = ]]&gt;<userid allowanonymous="TRUE" /><![CDATA[;<BR> ]]&gt;<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]]&gt;<counter type="View" /><![CDATA[ = ctx;<BR> </script>]]&gt;<switch><expr> <listproperty select="Direction" /></expr><case value="ltr"><![CDATA[ <SCRIPT>FixTextAlignForBidi("left");</script>]]&gt;</case><case value="rtl"><![CDATA[ <SCRIPT>FixTextAlignForBidi("right");</script> ]]&gt;</case></switch><![CDATA[ <SCRIPT language="VBSCRIPT"><br />&nbsp;&nbsp;&nbsp; On Error Resume Next<br />&nbsp;&nbsp;&nbsp; Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.3")<br />&nbsp;&nbsp;&nbsp; If (IsObject(EditDocumentButton)) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fNewDoc3 = true<br />&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.2")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (IsObject(EditDocumentButton)) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fNewDoc2 = true<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.1")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; End If&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; fNewDoc = IsObject(EditDocumentButton)<br /></script><br />]]&gt;<![CDATA[ <tr> <td>]]&gt; <listproperty htmlencode="TRUE" select="Direction" /><listproperty htmlencode="TRUE" select="Title" /><![CDATA["><tr class="ms-viewheadertr" valign="TOP">]]&gt;<counter type="View" /><counter type="View" />隐藏的筛选器列表框架<filterlink paged="FALSE" htmlencode="TRUE" /><![CDATA[">]]&gt;<fields><switch><expr> <property select="Name"></property></expr><case value="Attachments"><![CDATA[<TH nowrap scope="col" class="ms-vh-icon">]]&gt;<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%" htmlencode="TRUE" sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tbody> <tr> <td class="ms-vb" width="100%" noWrap>]]&gt;<field /><![CDATA[</TD> ]]&gt;<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>]]&gt;</case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]&gt;</default></switch><![CDATA[ </TR> </tr></tbody></table> <div></div>]]&gt;</else></ifequal><![CDATA[</TH>]]&gt;</case><default><switch><expr> <property select="Type"></property></expr><case value="Note"><![CDATA[<TH nowrap scope="col" class="ms-vh2-nograd">]]&gt;<field /><![CDATA[</TH>]]&gt;</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">]]&gt;<field /><![CDATA[</TH>]]&gt;</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">]]&gt;<field /><![CDATA[</TH>]]&gt;</case><case value="UserMultiTRUETRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh">]]&gt;<field /><![CDATA[</TH>]]&gt;</case><default><![CDATA[<TH nowrap scope="col" class="ms-vh2-nograd">]]&gt;<field /><![CDATA[</TH>]]&gt;</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">]]&gt;<field /><![CDATA[</TH>]]&gt;</case><default><![CDATA[<TH nowrap scope="col" class="ms-vh2">]]&gt;<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%" htmlencode="TRUE" sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tbody> <tr> <td class="ms-vb" width="100%" noWrap>]]&gt;<field /><![CDATA[</TD> ]]&gt;<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>]]&gt;</case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]&gt;</default></switch><![CDATA[ </TR> </tr></tbody></table> <div></div>]]&gt;</else></ifequal><![CDATA[</TH>]]&gt;</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">]]&gt;<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%" htmlencode="TRUE" sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tbody> <tr> <td class="ms-vb" width="100%" noWrap>]]&gt;<field /><![CDATA[</TD> ]]&gt;<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>]]&gt;</case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]&gt;</default></switch><![CDATA[ </TR> </tr></tbody></table> <div></div>]]&gt;</else></ifequal><![CDATA[</TH>]]&gt;</case><case value="UserMultiTRUETRUE"><![CDATA[<TH nowrap scope="col" class="ms-vh">]]&gt;<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%" htmlencode="TRUE" sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tbody> <tr> <td class="ms-vb" width="100%" noWrap>]]&gt;<field /><![CDATA[</TD> ]]&gt;<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>]]&gt;</case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]&gt;</default></switch><![CDATA[ </TR> </tr></tbody></table> <div></div>]]&gt;</else></ifequal><![CDATA[</TH>]]&gt;</case><default><switch><expr> <property select="HeaderImage"></property></expr><case value=""><![CDATA[<TH nowrap scope="col" class="ms-vh2">]]&gt;<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%" htmlencode="TRUE" sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tbody> <tr> <td class="ms-vb" width="100%" noWrap>]]&gt;<field /><![CDATA[</TD> ]]&gt;<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>]]&gt;</case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]&gt;</default></switch><![CDATA[ </TR> </tr></tbody></table> <div></div>]]&gt;</else></ifequal><![CDATA[</TH>]]&gt;</case><default><![CDATA[<TH nowrap scope="col" class="ms-vh-icon">]]&gt;<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%" htmlencode="TRUE" sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)"> <tbody> <tr> <td class="ms-vb" width="100%" noWrap>]]&gt;<field /><![CDATA[</TD> ]]&gt;<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>]]&gt;</case><default><![CDATA[ <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> ]]&gt;</default></switch><![CDATA[ </TR> </tr></tbody></table> <div></div>]]&gt;</else></ifequal><![CDATA[</TH>]]&gt;</default></switch></default></switch></default></switch></default></switch></default></switch></fields><![CDATA[ </TR> ]]&gt;</viewheader><viewbody><getvar name="AlternateStyle" /><![CDATA[">]]&gt;<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[">]]&gt;<field /><![CDATA[</TD> ]]&gt;</fields><![CDATA[ </TR> ]]&gt;</viewbody><viewfooter><![CDATA[ </TABLE> ]]&gt;<ifequal><expr1><getvar name="SearchString" /></expr1><expr2 /><then /><else><![CDATA[ <TABLE width="100%" border="0"> <tr><td class="ms-descriptiontext">搜索结果中显示最近的项目需要花费几分钟时间。</td> </tr></table>]]&gt;</else></ifequal><![CDATA[</td> </tr></table>]]&gt;</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>]]&gt;<switch><expr><getvar name="PrevPageData" /></expr><case value="" /><default><![CDATA[ <td><a onclick='javascript:SubmitFormPost(" ? ");javascript:return false;' href="javascript:">]]&gt;<![CDATA[<img src="/_layouts/2052/images/prev.gif" border="0" alt="上一步" /></a></td> ]]&gt;</default></switch><![CDATA[ <td nowrap class="ms-paging">]]&gt;<getvar name="PageFirstRow" htmlencode="TRUE" />-<getvar name="PageLastRow" htmlencode="TRUE" /><![CDATA[</td> ]]&gt;<switch><expr><getvar name="NextPageData" /></expr><case value="" /><default><![CDATA[ <td> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a onclick='javascript:SubmitFormPost(" ? ");javascript:return false;' href="javascript:">]]&gt;<![CDATA[<img src="/_layouts/2052/images/next.gif" border="0" alt="下一步" /></a></td> ]]&gt;</default></switch><![CDATA[ </tr> <tbody></tbody></table></td></tr><br /><tr><td class="ms-bottompagingline3"><img alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="1" height="1" /></td> </tr><br /></table>]]&gt;<![CDATA[<BR> <script><br /> &#160; var topPagingCell = document.getElementById("topPagingCell ");<BR> &#160; var bottomPagingCell = document.getElementById("bottomPagingCell ");<BR> &#160; if (topPagingCell != null && bottomPagingCell != null)<br /> &#160; {<br /> &#160;&#160;&#160; topPagingCell.innerHTML = bottomPagingCell.innerHTML;<br /> &#160; }<br /> </script>&#13;&#10; <br /> &#13;&#10;&#13;&#10;&#13;&#10; <TR><td></td><td class="ms-vb" align="left"> ? ? ");javascript:return false;'>]]&gt;<![CDATA[</A>&nbsp;]]&gt;</default></switch><![CDATA[</TD> </tr>]]&gt;</pagedclientcallbackrowset> <pagedrecurrencerowset><![CDATA[ <TABLE width="100%" border="0"><tr><td&#160; class="ms-vb" nowrap>]]&gt;<switch><expr><getvar name="PrevPageData" /></expr><case value="" /><default><![CDATA[&nbsp;<A id="onetidPrev" href="<BR"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "javascript:" OnClick='javascript:SubmitFormPost("]]&gt; <scriptquote notaddingquote="TRUE"><pageurl />?<getvar name="PrevPageData" /></scriptquote> <![CDATA[");javascript:return false;'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<img border="0" alt="上一步" src="http://www.cnblogs.com/_layouts/2052/images/prev.gif" /></a><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.cnblogs.com/virusswb/archive/2008/12/25/%3CBR">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "javascript:" OnClick='javascript:SubmitFormPost("]]&gt; <scriptquote notaddingquote="TRUE"><pageurl />?<getvar name="PrevPageData" /></scriptquote> <![CDATA[");javascript:return false;'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;]]&gt;上一步<![CDATA[</A>]]&gt;</default></switch><![CDATA[</TD> <td class="ms-vb" align="right" nowrap>]]&gt;<switch><expr><getvar name="NextPageData" /></expr><case value="" /><default><![CDATA[<A href="<BR"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "javascript:" OnClick='javascript:SubmitFormPost("]]&gt; <scriptquote notaddingquote="TRUE"><pageurl />?<getvar name="NextPageData" /></scriptquote> <![CDATA[");javascript:return false;'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;]]&gt;下一步<![CDATA[</A><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a id="onetidNext" href="http://www.cnblogs.com/virusswb/archive/2008/12/25/%3CBR">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "javascript:" OnClick='javascript:SubmitFormPost("]]&gt; <scriptquote notaddingquote="TRUE"><pageurl />?<getvar name="NextPageData" /></scriptquote> <![CDATA[");javascript:return false;'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<img border="0" alt="下一步" src="http://www.cnblogs.com/_layouts/2052/images/next.gif" /></a>&nbsp;]]&gt;</default></switch><![CDATA[</TD> </tr></table>]]&gt;</pagedrecurrencerowset> <viewempty><![CDATA[ <SCRIPT><br />ctx = new ContextInfo();<br />ctx.listBaseType = ]]&gt; <listproperty select="BaseType" /><![CDATA[;<BR>ctx.listTemplate = ]]&gt; <listproperty select="ServerTemplate" /><![CDATA[;<BR>ctx.listName = ]]&gt; <scriptquote><list /></scriptquote><![CDATA[;<BR>ctx.view = ]]&gt; <scriptquote><getvar name="View" /></scriptquote><![CDATA[;<BR>ctx.listUrlDir = ]]&gt; <scriptquote><listurldir serverrel="TRUE" urlencodeasurl="TRUE" /></scriptquote><![CDATA[;<BR>ctx.HttpPath = ]]&gt; <scriptquote><httppath serverrel="TRUE" /></scriptquote><![CDATA[;<BR>ctx.HttpRoot = ]]&gt; <scriptquote><httpvdir /></scriptquote><![CDATA[;<BR>ctx.imagesPath = ]]&gt; <scriptquote>/_layouts/images/</scriptquote> <![CDATA[;<BR>ctx.PortalUrl = ]]&gt; <scriptquote><projectproperty select="PortalUrl" /></scriptquote><![CDATA[;<BR>ctx.SendToLocationName = ]]&gt; <scriptquote><listproperty select="SendToLocationName" /></scriptquote><![CDATA[;<BR>ctx.SendToLocationUrl = ]]&gt; <scriptquote><listproperty select="SendToLocationUrl" /></scriptquote><![CDATA[;<BR>ctx.RecycleBinEnabled = ]]&gt; <projectproperty select="RecycleBinEnabled" /><![CDATA[;<BR>ctx.OfficialFileName = ]]&gt; <scriptquote><serverproperty select="OfficialFileName" /></scriptquote><![CDATA[;<BR>ctx.WriteSecurity = ]]&gt; <scriptquote><listproperty select="WriteSecurity" /></scriptquote><![CDATA[;<BR>ctx.SiteTitle = ]]&gt; <scriptquote><projectproperty select="Title" /></scriptquote><![CDATA[;<BR>ctx.ListTitle = ]]&gt; <scriptquote><listproperty select="Title" /></scriptquote><![CDATA[;<BR>if (ctx.PortalUrl == "") ctx.PortalUrl = null;<br />ctx.displayFormUrl = ]]&gt; <scriptquote><url cmd="DISPLAY" noid="TRUE" /></scriptquote><![CDATA[;<BR>ctx.editFormUrl = ]]&gt; <scriptquote><url cmd="EDIT" noid="TRUE" /></scriptquote><![CDATA[;<BR>ctx.isWebEditorPreview = ]]&gt;<switch><expr><getvar name="WebEditorPreview" /></expr><case value="TRUE">1</case><default>0</default></switch><![CDATA[;<BR> ctx.ctxId = ]]&gt;<counter type="View" /><![CDATA[;<BR> g_ViewIdToViewCounterMap[ ]]&gt; <scriptquote><getvar name="View" /></scriptquote><counter type="View" /><![CDATA[;<BR>ctx.CurrentUserId = ]]&gt;<userid allowanonymous="TRUE" /><![CDATA[;<BR> ]]&gt;<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]]&gt;<counter type="View" /><![CDATA[ = ctx;<BR> </script> &#13;&#10;&#13;&#10;&#13;&#10; <SCRIPT>FixTextAlignForBidi("left");</script> &#13;&#10;&#13;&#10;&#13;&#10; <SCRIPT>FixTextAlignForBidi("right");</script> "><tr><td> border=0><tr class="ms-viewheadertr"> 隐藏的筛选器列表框架 "> <TH nowrap scope="col" class="ms-vh-icon"> TRUE &#13;&#10;&#13;&#10;&#13;&#10; <div style="width:100%;position:relative;left:0;top:0;"> &#13;&#10;<table style="width: 100%" htmlencode="TRUE" Sortable? sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)">&#13;&#10;<tbody>&#13;&#10;<tr>&#13;&#10;<td class="ms-vb" width="100%" noWrap> </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; </TR> </tr></tbody></table>&#13;&#10;<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 &#13;&#10;&#13;&#10;&#13;&#10; <div style="width:100%;position:relative;left:0;top:0;"> &#13;&#10;<table style="width: 100%" htmlencode="TRUE" Sortable? sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)">&#13;&#10;<tbody>&#13;&#10;<tr>&#13;&#10;<td class="ms-vb" width="100%" noWrap> </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; </TR> </tr></tbody></table>&#13;&#10;<div></div> </TH> <TH nowrap scope="col" class="ms-vh"> TRUE &#13;&#10;&#13;&#10;&#13;&#10;<div style="width:100%;position:relative;left:0;top:0;"> &#13;&#10;<table style="width: 100%" htmlencode="TRUE" Sortable? sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)">&#13;&#10;<tbody>&#13;&#10;<tr>&#13;&#10;<td class="ms-vb" width="100%" noWrap> </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10;</TR> </tr></tbody></table>&#13;&#10;<div></div> </TH> <TH nowrap scope="col" class="ms-vh"> TRUE &#13;&#10;&#13;&#10;&#13;&#10;<div style="width:100%;position:relative;left:0;top:0;"> &#13;&#10;<table style="width: 100%" htmlencode="TRUE" Sortable? sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)">&#13;&#10;<tbody>&#13;&#10;<tr>&#13;&#10;<td class="ms-vb" width="100%" noWrap> </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10;</TR> </tr></tbody></table>&#13;&#10;<div></div> </TH> <TH nowrap scope="col" class="ms-vh2"> TRUE &#13;&#10;&#13;&#10;&#13;&#10;<div style="width:100%;position:relative;left:0;top:0;"> &#13;&#10;<table style="width: 100%" htmlencode="TRUE" Sortable? sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)">&#13;&#10;<tbody>&#13;&#10;<tr>&#13;&#10;<td class="ms-vb" width="100%" noWrap> </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10;</TR> </tr></tbody></table>&#13;&#10;<div></div> </TH> <TH nowrap scope="col" class="ms-vh-icon"> TRUE &#13;&#10;&#13;&#10;&#13;&#10;<div style="width:100%;position:relative;left:0;top:0;"> &#13;&#10;<table style="width: 100%" htmlencode="TRUE" Sortable? sortable=" " height="100%" cellspacing="1" cellpadding="0" class="ms-unselectedtitle" onmouseover="OnMouseOverFilter(this)">&#13;&#10;<tbody>&#13;&#10;<tr>&#13;&#10;<td class="ms-vb" width="100%" noWrap> </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10; <TD style="position:absolute;"><img style="visibility: hidden" alt="" src="http://www.cnblogs.com/_layouts/images/blank.gif" width="13" /></td> &#13;&#10;&#13;&#10;&#13;&#10;</TR> </tr></tbody></table>&#13;&#10;<div></div> </TH> &#13;&#10;&#13;&#10;&#13;&#10;</TR> &#13;&#10;&#13;&#10;&#13;&#10;</TABLE> </td> </tr>&#13;&#10;&#13;&#10;&#13;&#10;<tr> <td> border="0"> <tr> &#13;&#10;&#13;&#10;&#13;&#10; <TD class="ms-vb"> 该“ ”文档库视图中没有可显示的项目。 若要新建文档,请单击上面的“新建”或“上载”。 </TD> &#13;&#10;&#13;&#10;&#13;&#10; <TD class="ms-vb"><strong>未找到符合查询条件的记录。</strong></td> TRUE &#13;&#10;&#13;&#10;&#13;&#10; <TR> <td class="ms-descriptiontext">请参阅&#8220;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="javascript:HelpWindowKey(' search_tips?)?>搜索提示<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </a>&#8221;页以获取有关创建查询的帮助。</td> </tr> <tbody> <tr>]]&gt;</then><else><![CDATA[ <TR> <td class=" ms-descriptiontext?>搜索结果中显示最近的项目需要花费几分钟时间。</td></tr> <tr> </TR> </tr></table></td> </tr></table>

你可能感兴趣的:(SharePoint)