DataPager Class |
Namespace: CMS.Controls
[SerializableAttribute] public class DataPager : BasicDataPager, IPostBackEventHandler
The DataPager type exposes the following members.
Name | Description | |
---|---|---|
BindToQueryString |
Bind to query.
| |
BuildButtonNavBack |
Build button Back navigation.
| |
BuildButtonNavNext |
Build button Next navigation.
| |
BuildControl |
Build control.
| |
BuildLinkNavBack |
Build Back/Next link navigation
| |
BuildLinkNavNext |
Build link Next navigation.
| |
BuildPageNumbers |
Build page number links.
| |
BuildResults |
Build results
| |
BuildResultsArea |
Build results.
| |
GetBackNextLocation |
Returns back/next type based on the given string.
(Inherited from BasicDataPager.) | |
GetItemDataRow |
Returns the DataRow for the given item index.
(Inherited from BasicDataPager.) | |
GetItemPage |
Returns the page of selected item (start with 1)
(Inherited from BasicDataPager.) | |
GetPagerPosition |
Returns the pager position based on the given string.
(Inherited from BasicDataPager.) | |
GetPagingMode |
Returns the paging mode based on the given string.
(Inherited from BasicDataPager.) | |
GetResultPosition |
Returns the result position based on the given string.
(Inherited from BasicDataPager.) | |
ChangePage |
Change page.
| |
LoadViewState |
Load ViewState.
(Overrides WebControlLoadViewState(Object).) | |
OnClick |
Invokes delegates registered with the Click event.
| |
OnInit |
Init event handler.
(Inherited from CMSWebControl.) | |
ProcessPageIndex |
Make same action like PreRender function.
| |
RaiseOnDataSourceChanged |
Raises the OnDataSourceChanged event.
(Inherited from BasicDataPager.) | |
RaiseOnPageChange |
Raises the OnPageChange event.
(Inherited from BasicDataPager.) | |
RaisePostBackEvent |
Method of IPostBackEventHandler that raises change events.
| |
Render |
Render this control to the output parameter specified.
(Overrides BasicDataPagerRender(HtmlTextWriter).) | |
SaveViewState |
Save ViewState.
(Overrides WebControlSaveViewState.) | |
UpdateQueryStringItem |
Updates current URL with new items.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mBackNextButtonStyle |
Back next button style
| |
mBackNextDisplay |
Back next display.
| |
mBackNextLinkSeparator |
Back next link separator
| |
mBackNextLocation |
Back next location.
| |
mBackNextStyle |
Back next style.
| |
mBackText |
BackText.
| |
mControlCssClass |
Control css class.
| |
mControlStyle |
Control style.
| |
mDataSource |
DataSource.
(Inherited from BasicDataPager.) | |
mFirstText |
FirstText.
| |
mHideOnSinglePage |
Hide on single page.
| |
mIgnoreQueryString |
Ignore query string.
| |
mLabelStyle |
Label style.
| |
mLabelText |
Label text.
| |
mLastText |
LastText.
| |
mMaxPages |
Max. pages.
(Inherited from BasicDataPager.) | |
mNextText |
NextText.
| |
mPagedData |
Paged data.
(Inherited from BasicDataPager.) | |
mPageNumbersDisplay |
Page numbers display.
| |
mPageNumbersSeparator |
Page numbers separator.
| |
mPageNumbersStyle |
Page numbers style.
| |
mPageNumberStyle |
Page number style.
| |
mPagerHTMLAfter |
After pager html.
| |
mPagerHTMLBefore |
Befor pager html.
| |
mPagerNumbersClass |
Number area CSS class.
| |
mPagingMode |
Paging mode.
(Inherited from BasicDataPager.) | |
mQueryStringKey |
Query string key.
| |
mRenderedHtml |
Render Html.
| |
mResultsClass |
Results CSS class.
| |
mResultsFormat |
Results format.
| |
mResultsLocation |
Results location.
| |
mResultsStyle |
Results style.
| |
mSectionPadding |
Section padding.
| |
mSelectedClass |
Class of selected page.
| |
mSelectedNextClass |
Class of selected next.
| |
mSelectedPrevClass |
Class of selected previous.
| |
mShowFirstLast |
Show FirstLast.
| |
mShowLabel |
Show label.
| |
mShowPageNumbers |
Show page numbers.
| |
mSliderSize |
Slider size.
| |
mUniqueID |
Unique ID.
(Inherited from BasicDataPager.) | |
mUnselectedClass |
Class of unselected page.
| |
mUnselectedNextClass |
Class of unselected next.
| |
mUnselectedPrevClass |
Class of unselected previous.
| |
mUseSlider |
Use slider.
|
Name | Description | |
---|---|---|
BackNextButtonStyle |
BackNext button style.
| |
BackNextDisplay |
BackNext display.
| |
BackNextLinkSeparator |
BackNext link separator.
| |
BackNextLocation |
BackNext location.
| |
BackNextStyle |
BackNext style.
| |
BackText |
Back button/hyperlink text
| |
ControlCssClass |
CSS Class of the pager control.
| |
Current |
Current page number.
| |
CurrentPage |
Current page number.
(Inherited from BasicDataPager.) | |
DataSource |
Pager DataSource.
(Overrides BasicDataPagerDataSource.) | |
FirstText |
First text.
| |
HideOnSinglePage |
If true, the pager is hidden if only one page is displayed.
| |
IgnoreQueryString |
Indicates if QueryString parameters should be ignored.
| |
InsertKeys |
Keys to be added to querystring.
| |
InsertToUrl |
Check if insert is enabled.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
LabelStyle |
Label style.
| |
LabelText |
Label text.
| |
LastText |
Last text.
| |
MaxPages |
Maximum number of pages to be displayed.
(Inherited from BasicDataPager.) | |
NextText |
Next button/hyperlink text
| |
PageCount |
Page count.
(Inherited from BasicDataPager.) | |
PagedData |
Paged data.
(Inherited from BasicDataPager.) | |
PageNumbersDisplay |
Page numbers display mode.
| |
PageNumbersSeparator |
Page numbers separator.
| |
PageNumbersStyle |
Page numbers style.
| |
PageNumberStyle |
Page number style.
| |
PagerControlStyle |
Pager control style.
| |
PagerHTMLAfter |
After pager html.
| |
PagerHTMLBefore |
Before pager html.
| |
PagerNumberAreaClass |
Pager number area CSS class.
| |
PagerPosition |
Pager position.
(Inherited from BasicDataPager.) | |
PageSize |
Page size.
(Inherited from BasicDataPager.) | |
PagingMode |
Determines if PostBack or QueryString should be used for the paging.
(Inherited from BasicDataPager.) | |
QueryStringKey |
Query parameter name for the page index.
| |
RecordEnd |
Index of the last record on current page.
(Inherited from BasicDataPager.) | |
RecordStart |
Index of the first record on current page.
(Inherited from BasicDataPager.) | |
RemoveFromUrl |
Check if remove is enabled.
| |
RemoveKeys |
Keys to remove.
| |
RenderedHtml |
Rendered html ???
| |
ResultsClass |
Results CSS class.
| |
ResultsFormat |
Results text format.
| |
ResultsLocation |
Results location.
| |
ResultsStyle |
Results style.
| |
SectionPadding |
Section padding.
| |
SelectedClass |
Class of selected page.
| |
SelectedNextClass |
Class of selected next.
| |
SelectedPrevClass |
Class of selected prev.
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
ShowFirstLast |
Show first last labels.
| |
ShowLabel |
Show label.
| |
ShowPageNumbers |
Show page numbers.
| |
SliderSize |
Slider size.
| |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides BasicDataPagerTagKey.) | |
TotalRecords |
Total data source records.
(Inherited from BasicDataPager.) | |
UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) | |
UniqueID |
Unique ID.
(Inherited from BasicDataPager.) | |
UnselectedClass |
Class of unselected page.
| |
UnselectedNextClass |
Class of unselected next.
| |
UnselectedPrevClass |
Class of unselected prev.
| |
UseSlider |
Use slider.
|
Name | Description | |
---|---|---|
Click |
Defines the Click event.
| |
OnDataSourceChanged |
Data source change event.
(Inherited from BasicDataPager.) | |
OnPageChange |
Page change event.
(Inherited from BasicDataPager.) | |
ViewStateLoaded |
Event is raised after view state load.
|