Compartilhar via


PagedRecurrenceRowset Element

The PagedRecurrenceRowset element contains the definition of the page to display for a recurring item in an events list when the number of items in the recurrence surpasses the limit set by the RowLimit element.

Syntax

<PagedRecurrenceRowset>
</PagedRecurrenceRowset>

Element Relationships

Parent Elements
View, ViewStyle

Example

The following example from the SCHEMA.XML file for announcements lists defines how to display items when the number of items exceeds the value specified by the RowLimit element.

<PagedRecurrenceRowset>
   <HTML><![CDATA[ <TABLE width="100%" border=0><TR><TD  nowrap Class="ms-vb"> ]]></HTML>
   <Switch>
      <Expr>
         <GetVar Name="PrevPageData" />
      </Expr>
      <Case Value="" />
      <Default>
         <HTML><![CDATA[&nbsp;<A id=onetidPrev HREF=
                "javascript:" OnClick='javascript:SubmitFormPost(" ]]></HTML>
         <ScriptQuote NotAddingQuote="TRUE">
            <PageUrl />
            <HTML>?</HTML>
            <GetVar Name="PrevPageData" />
         </ScriptQuote>
         <HTML><![CDATA[ ");javascript:return false;'><img src="/_layouts/images/prev.gif"
            border=0 alt=" ]]>
               <![CDATA[ Previous ]]>
               <![CDATA[ "></A><A HREF="javascript:" OnClick='javascript:SubmitFormPost("]]></HTML>
         <ScriptQuote NotAddingQuote="TRUE">
            <PageUrl />
            <HTML>?</HTML>
            <GetVar Name="PrevPageData" />
         </ScriptQuote>
         <HTML><![CDATA[ ");javascript:return false;'> ]]></HTML>
         <HTML>Previous</HTML>
         <HTML><![CDATA[ </A> ]]></HTML>
      </Default>
   </Switch>
   <HTML><![CDATA[ </TD><TD align=right nowrap Class="ms-vb"> ]]></HTML>
   <Switch>
      <Expr>
         <GetVar Name="NextPageData" />
      </Expr>
      <Case Value="" />
      <Default>
         <HTML><![CDATA[<A HREF="javascript:" OnClick='javascript:SubmitFormPost(" ]]></HTML>
         <ScriptQuote NotAddingQuote="TRUE">
            <PageUrl />
            <HTML>?</HTML>
            <GetVar Name="NextPageData" />
         </ScriptQuote>
         <HTML><![CDATA[ ");javascript:return false;'> ]]></HTML>
         <HTML>Next</HTML>
         <HTML><![CDATA[ </A><A id=onetidNext HREF="javascript:" OnClick='javascript:SubmitFormPost("]]></HTML>
         <ScriptQuote NotAddingQuote="TRUE">
            <PageUrl />
            <HTML>?</HTML>
            <GetVar Name="NextPageData" />
         </ScriptQuote>
         <HTML><![CDATA[ ");javascript:return false;'><img src="/_layouts/images/next.gif" border=0 alt=" ]]>
            <![CDATA[ Next ]]>
            <![CDATA[ "></A>&nbsp; ]]></HTML>
      </Default>
   </Switch>
   <HTML><![CDATA[ </TD></TR></TABLE> ]]></HTML>
</PagedRecurrenceRowset>