Skip to main content

Features

Go Search
Home
Blog
Content By Type
Alpe d'Huzes
SharePoint Objects
  

Other Blogs
There are no items in this list.
Ton Stegeman > Content By Type > Features > Posts > New Paging options
New Paging options

When using paging in the first release of the webpart, you had no options to configure paging. Version 1.2 now offers a number of options to setup paging for your gridview:

  • Pager Mode
  • Pager Position
  • Pager button count

These 3 options are discussed below. You can find the options in the "Display options" section of the configuration editor:

image

Pager Mode

The pager mode select box in the display options section of the configuration editor allows you to select these options:

  • Numeric (the default)
    This option uses numbers to let users select the page they want to navigate to.
    image
  • Numeric: First/Last
    Same as the previous option, but it includes a First and Last button.
    image
  • Buttons: Next/Prev
    Paging using previous/next buttons:
    image
  • Buttons: Next/Prev/First/Last
    Paging using previous and next buttons and it also includes buttons to navigate to the first and last page:
    image
  • Images: Next/Prev
    Paging using previous/next images:
    image
  • Images: Next/Prev/First/Last
    Paging using previous and next images. It also includes images to navigate to the first and last page:
    image

Pager Position

The pager controls are by default at the bottom of the grid. You can also display them on top, or at both locations:

image

Pager button count

Use this option if you are using Numeric paging. It lets you control how many numbered page links are displayed in the pager control. In this example it is set to 5 items:

image

Comments

There are no comments yet for this post.