Sharepoint list 自定义分页与GotoPage solution
来源:互联网 发布:灯光矩阵 编辑:程序博客网 时间:2024/05/23 02:05
Template for
<xsl:template name="for-loop">
<xsl:param name="i"/>
<xsl:param name="count"/>
<xsl:param name="record"/>
<xsl:variable name="GoRow">
<xsl:value-of select="($i - 1) * $record +1" />
</xsl:variable>
<xsl:if test="$i <= $count">
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$GoRow,'}'))" />;</xsl:attribute>
<xsl:value-of select="$i" disable-output-escaping = "yes" />
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
</a>
</xsl:if>
<xsl:if test="$i <= $count">
<xsl:call-template name="for-loop">
<xsl:with-param name="i">
<xsl:value-of select="$i + 1"/>
</xsl:with-param>
<xsl:with-param name="count">
<xsl:value-of select="$count"/>
</xsl:with-param>
<xsl:with-param name="record">
<xsl:value-of select="$record" />
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template>
call template
<xsl:variable name="TotalPage">
<xsl:value-of select="$dvt_RowCount div $RowLimit" />
</xsl:variable>
<xsl:call-template name="for-loop">
<xsl:with-param name="i">1</xsl:with-param>
<xsl:with-param name="count">
<xsl:value-of select="$TotalPage" />
</xsl:with-param>
<xsl:with-param name="record">
<xsl:value-of select="$RowLimit" />
</xsl:with-param>
</xsl:call-template>
- Sharepoint list 自定义分页与GotoPage solution
- GoToPage
- Custom List for Sharepoint Solution Generator
- Sharepoint Solution 二:使用Solution部署自定义的Sharepoint Web Part
- SharePoint Deploy Solution
- Automate SharePoint Solution Builds
- InfoPath与SharePoint之(一) InfoPath和SharePoint List
- sharepoint 分页
- Sharepoint Solution 一:创建一个简单的Sharepoint Solution
- SharePoint解决方案包(Solution Pack)
- 自定义list分页控件(lwuit)
- django 自定义分页与bootstrap分页结合
- Adding Custom Actions to the List Item Menu in SharePoint 2010 Using SharePoint Designer 2010[Sharepoint中添加自定义菜单]
- [Leetcode Solution] Sort List
- [LeetCode] Reorder List, Solution
- [LeetCode] Sort List, Solution
- Lintcode99 Reorder List solution
- SharePoint中的列表(List) 与Content Type 之五
- apache ab压力测试
- 发邮件的类MailMessage+SmtpMail
- SET EXTENDED CHECK OFF.
- 遗传中的整数编码规则
- 数据绑定到DataList中ItemTemplate的时候,对里面控件的处理
- Sharepoint list 自定义分页与GotoPage solution
- Flex 3快速入门: 构建高级用户界面 创建项目编辑器
- EntityFramework中添加表时的关系
- 模板列表
- bss段
- 2009-07-06 TIPTOP
- GridView自定义模板
- OGNL入门(转)
- 五行的类属表