Peter's Business Logic Driven UI
The BLDWidgetView control: Paging and manipulating the Databound Control
Back to Product Overview

The BLDWidgetView control provides a user interface for paging and manipulating the data shown within a Databound Control. It is subclassed from the DataPager control, 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).

Sample showing a ListView with two BLDWidgetViews
A ListView with BLDWidgetViews above and below.
The Widgets
ClassDescription
NextPreviousPagerWidget
Paging Demos
Buttons for moving to next, previous, first, and last “page”.

You determine the type of button, the layout, and if buttons are omitted.

PreviousPagerWidgetA subclass of NextPreviousPagerWidget that only offers buttons for previous and first “page”.
NextPagerWidgetA subclass of NextPreviousPagerWidget that only offers buttons for next and last “page”.
NumericPagerWidget
Paging Demos
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 NextPreviousPagerWidget.

IncrementExtendedNumericPagerWidget
Paging Demos
Based on NumericPagerWidget, 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.

SpreadExtendedNumericPagerWidget
Paging Demos
Based on NumericPagerWidget, 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

JumpByExtendedNumericPagerWidget
Paging Demos
Based on NumericPagerWidget, 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.
InfoPagerWidget
Paging Demos
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.
DropDownPageSizesWidget
Page Sizes Demos
A dropdownlist offering a various sizes for the number of items to show per page.
LinksPageSizesWidget
Page Sizes Demos
A list of hyperlinks offering various sizes for the number of items to show per page.
DropDownSorterWidget
Sorting Demos
A dropdownlist offering the available sort keys. It is an alternative to providing sorting on column titles.
LinksSorterWidget
Sorting Demos
A list of hyperlinks offering the available sort keys. It is an alternative to providing sorting on column titles.
CommandButtonWidgetProvide a button that invokes a command in the DataBound control. It can be a Button, Image, or LinkButton.
NewCommandButtonWidgetSince its so common on a single record view, this is a CommandButtonWidget setup for the New command (to start a new record). Also consider the DataButtonsWidget, below.
ListCommandButtonWidgetA button that goes to the URL that shows a list of records. (It invokes the “List” action.) Also consider the DataButtonsWidget, below.
DataButtonsWidget
DataButtonsWidget Demo
Use the BLDDataButtons control to provide buttons for these commands: New, Edit, Delete, and Details. Normally BLDDataButtons 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 BLDListView, use the SelectingRowsUI property expose the Edit, Delete, and Details commands when a row is selected.

FilterFieldsWidgetGenerate Filter Templates using Automatic Scaffolding. It adds the Search and Clear buttons. This is effectively a wrapper around the BLDPatternForFilterFields control which is contained in its FiltersPattern property.
FilterFieldWidget
Filter Demos
Generate a single Filter Templates for a DataField that you specify. This is effectively a wrapper around the BLDPatternForFilterField control which is contained in its FilterPattern property.
FilterButtonsWidget
Filter Demos
Generates the buttons used with a Filter interface: Search, Clear, and optionally Reset. Used when working with FilterFieldWidgets. This is effectively a wrapper around the BLDFilterButtons control which is contained in its Buttons property.
FilterSummaryWidget
Filter Demos
Generates a summary of active filters, including Filter Templates and EntityFilters on the EntityDAODataSource control. This is effectively a wrapper around the BLDFilterSummary contorl which is contained in its BLDFilterSummary property.
TemplateWidgetProvides a template to create your own HTML and controls for paging or manipulating the data.

Back to Product Overview