The DynamicControlPanel control provides a user interface for paging and manipulating
the data shown within a Databound Control. It is subclassed from System.Web.UI.WebControls.DataPager,
as it expands the ways you can manipulate data, and it works with all databound
controls, instead of just the ListView (a limitation of DataPager).
|
Class
|
Description
|
DES.NextPreviousPagerField
|
Buttons for moving to next, previous, first, and last “page”.
You determine the type of button, the layout, and if buttons are omitted.
|
PreviousPagerField
|
A subclass of DES.NextPreviousPagerField that only offers buttons for previous and
first “page”.
|
NextPagerField
|
A subclass of DES.NextPreviousPagerField that only offers buttons for next and last
“page”.
|
DES.NumericPagerField
|
A list of page numbers that the user can click to display.
It optionally offers the first and last page numbers when the range of page numbers
is not near the first and last page. It also offers buttons for moving to next,
previous, first, and last “page” as it inherits from DES.NextPreviousPagerField.
|
IncrementExtendedNumericPagerField
|
Based on DES.NumericPagerField, it adds an extended list of page numbers to the
start or end of the sequential range. The page numbers have a specific number of
pages gap between them.
For example, when the gap is 10 and the page numbers shown are 1 2 3 4, the extended
numbers are 14 24 34 and 44.
|
SpreadExtendedNumericPagerField
|
Based on DES.NumericPagerField, it adds an extended list of page numbers to the
start or end of the sequential range. The extended page numbers are spread evenly
to fill a gap between the sequential range and the start or end page.
For example, if there are 100 pages and the sequential range is showing 1 2 3 4
5, the gap is 95. When you indicate that 5 page numbers will fill the gap, the increment
is calculated as 19. The following page numbers are shown:
1 2 3 4 5 24
43 62 81 100
|
JumpByExtendedNumericPagerField
|
Based on DES.NumericPagerField, it adds an extended list of page numbers to the
start or end of the sequential range. It adds +n and –n, where n is
the number of pages to advance forward or back.
|
InfoPagerField
|
Displays information about the current page, including the page index, total pages,
total records and much more. It optionally lets the user enter a page number in
an IntegerTextBox to jump to that page.
|
DropDownPageSizesField
|
A dropdownlist offering a various sizes for the number of items to show per page.
|
LinksPageSizesField
|
A list of hyperlinks offering various sizes for the number of items to show per
page.
|
DropDownSorterField
|
A dropdownlist offering the available sort keys. It is an alternative to providing
sorting on column titles.
|
LinksSorterField
|
A list of hyperlinks offering the available sort keys. It is an alternative to providing
sorting on column titles.
|
CommandButtonField
|
Provide a button that invokes a command in the Databound control.
It can be a Button, Image, or LinkButton.
|
NewCommandButtonField
|
Since its so common on a single record view, this is a CommandButtonField setup
for the New command (to start a new record). Also consider the DynamicButtonsField,
below.
|
DynamicButtonsField
|
Use the DynamicButtons control to provide buttons for these commands: New, Edit,
Delete, and Details. Normally DynamicButtons is placed inside the DataBound control,
but that limits its placement options and with lists, takes up room on each row.
When used with a DynamicListView, set AllowSelectingRows to true to expose the Edit,
Delete, and Details commands when a row is selected.
|
|
TemplateControlPanelField
|
Provides a template to create your own HTML and controls for paging or manipulating
the data. It is common to add filter controls or the DynamicButtons control into
its Template. Note: Filters are available from ASP.NET Dynamic Data’s toolset.
|