Click or drag to resize
UniGridPagerConfig Class
UniGrid pager configuration.
Inheritance Hierarchy

Namespace: CMS.UIControls.UniGridConfig
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public class UniGridPagerConfig : AbstractConfiguration

The UniGridPagerConfig type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDefaultPageSize
Defines the default amount of rows displayed on one UniGrid page. The value must be one of the options offered by the page size selection drop-down list. These values are defined by the PageSizeOptions key.
Public propertyDisplayPager
True if the pager should be displayed.
Public propertyGroupSize
Determines the amount of displayed page links in one group.
Public propertyPageSizeOptions
This setting can be used to override the default values offered by the page size selection drop-down list. Values must be separated by commas. The ##ALL## macro can be used as a value to indicate that all rows should be displayed. The default value is “25,50,100,##ALL##”.
Public propertyShowDirectPageControl
Indicates whether a drop-down list used for direct page selection should be displayed.
Public propertyShowFirstLastButtons
Indicates whether the buttons that link to the first and last page should be displayed.
Public propertyShowPageSize
Indicates whether the page size selection drop-down list should be displayed.
Public propertyShowPreviousNextButtons
Indicates whether the buttons that link to the previous and next page page should be displayed.
Public propertyShowPreviousNextPageGroup
Indicates whether the buttons that link to the next group of page links should be displayed.
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
See Also