smartDBforms.NET API Reference

SmartPager Members

SmartPager overview

Public Instance Constructors

SmartPager Constructor Initializes a new instance of the SmartPager class.

Public Instance Properties

ControlIDToPage Specifies the ID of the SmartDBView control which will be paged.
DataItem During databinding this property allows access to the pager context information.
DisableChildrenViewState Specifies if to disable the viewstate of the child controls. The default value is true. This is viewstate optimization. The child viewstate is not needed in most cases because the child controls are databoudn on each request.
HidePagerInEditMode Specifies if SmartPager will be invisible if the control to page is in Edit mode.
HidePagerInInsertMode Specifies if SmartPager will be invisible if the control to page is in Insert mode.
HidePagerInReadOnlyMode Specifies if SmartPager will be invisible if the control to page is in ReadOnly mode.
HidePagerWhenNoData Specifies if SmartPager will be invisible if no data is available or the control to page is missing
HidePagerWhenOnePage Specifies if SmartPager will be invisible if only one page of data is available.
PagerTemplate This template property allows you to define custom paging user interface. You can use command buttons with specific command names to trigger page changing. For more information see SmartPager documentation.
PagerType Determines which of the predefined templates to use if PagerTemplate is empty.
RenderMode Determines if the root element of the control will be rendered as DIV or SPAN
VisiblePageNumbers Specifies the number of page numbers visible at once in one page group. The default value is 10.

Public Instance Events

Command Occurs when a button within a SmartPager control is clicked.
PageChanging Occurs after the user has selected a new page and before the current page has changed.

Protected Instance Methods

OnCommand Raises the Command event.
OnPageChanging Raises the PageChanging event.

See Also

SmartPager Class | Adillis.SmartDBForms Namespace