Partilhar via


PagedRecurrenceRowset Element (List)

Applies to: SharePoint Foundation 2010

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.

Most standard Microsoft SharePoint Foundation 2010 list views ignore this element. For more information, see XMLDefinition and CAML View Schema.

<PagedRecurrenceRowset>
</PagedRecurrenceRowset>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

View, ViewStyle

Occurrences

Minimum: 0

Maximum: 1

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>

See Also

Concepts

XMLDefinition and CAML View Schema

Other Resources

List Views