摘要:        
xsltListView中的的联接和投影创建两个List, 建立Lookup关系联接:具体看MSDN<Joins><Join Type='LEFT' ListAlias='Sections'><Eq><FieldRef Name='SectionName' RefType='Id'/><FieldRef List='Sections' Name='Id'/></Eq></Join></Joins>投影:具    阅读全文
        
            posted @ 2011-04-14 18:28
一只老鼠
阅读(398)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
XsltListView has less setting than DataFormWebpart, and we can just override some xsl template to customize it.it is very useful improvement in sharepoint 2010, so just let us go into it.1. no more spdatasource , xmldefinition replace of it<XmlDefinition>	<View Name="{420E5B2A-8C2C-44    阅读全文
        
            posted @ 2011-04-14 17:27
一只老鼠
阅读(538)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
find the xsl files in folder C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XSLsequence of DataForm xsltfirst: 1. construct the class<xsl:variable name="ViewClassName"> <xsl:choose> <xsl:when test="$dvt_RowCount=0">ms    阅读全文
        
            posted @ 2011-04-14 16:25
一只老鼠
阅读(285)
评论(0)
推荐(1)
        
        
            
        
        
摘要:        
Header ToolBarthere is a xslt template:ListViewToolbarit contains following sharepoint server controls control the tool bar<SharePoint:NewMenu runat="server"></SharePoint:NewMenu><SharePoint:UploadMenu runat="server" /><SharePoint:ActionsMenu runat="serv    阅读全文
        
            posted @ 2011-04-14 15:34
一只老鼠
阅读(269)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
the structure of the DataForm Webpart:1. SPDatasource ViewFieldsFilterSorting2. DataFieldsthe fields inside will be using at Xslt template3. ParameterBindingsthis will be used in SPDataSource, we will talk in detail later    阅读全文
        
            posted @ 2011-04-14 15:01
一只老鼠
阅读(193)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
the most simplest xsl format: <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2    阅读全文
        
            posted @ 2011-04-14 15:00
一只老鼠
阅读(439)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号