Version

Paging Class Members

The following tables list the members exposed by Paging.

Public Constructors
 NameDescription
Public ConstructorPaging ConstructorDefault constructor.  
Public Properties
 NameDescription
Public PropertyCurrentPageLinkCssClassCSS class name that should be used for the current page index in numeric mode.  
Public PropertyCurrentPageSizeHolds current page size. Equals to the PageSize property for all pages except the last one, as it can have less rows than all of the other pages.  
Public PropertyEnabledOverridden.   
Public PropertyEnableInheritanceThis property will have an affect only for WebHierarchicalDataGrid and when set to true will enable the behavior for child bands.  
Public PropertyFirstPageTextThe text of the first pager link.  
Public PropertyGridA reference to the grid the behavior belongs to. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyHasPageIndexChangedIndicates whether the PageIndexChanged event is handled.  
Public PropertyHasPagerTemplateIndicates whether the bahavior has its pager assigned and instantiated.  
Public PropertyIndexIndex of the behavior inside of the behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyIsEmptyChecks if ViewState has any property with not a default value. This property should be overriden by extended class when additional subobjects are supported. IsEmpty will then check each subobject and return a value based on the check of those objects plus itself. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public PropertyLastPageTextThe text of the last pager link.  
Public PropertyNameOverridden. Holds name of the behavior. It's "Paging" for the paging behavior.  
Public PropertyNextPageTextThe text of the next pager link.  
Public PropertyOwnerCollectionA reference to the grid behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyPageCountTotal pages count  
Public PropertyPageIndexCurrent page index.  
Public PropertyPageLinkCssClassCSS class name that should be used for the pager's index links other than the current one when the pager is in the numeric mode.  
Public PropertyPagerAppearanceDetermines where the pager should be rendered - Top, Bottom, or Both (top and bottom) of the grid.  
Public PropertyPagerCssClassCSS class name that should be used for the pager.  
Public PropertyPagerModeDetermines pager rendering mode.  
Public PropertyPagerTemplateReference to the pager's template.  
Public PropertyPagerTemplateContainerBottomReference to the pager's bottom template container.  
Public PropertyPagerTemplateContainerTopReference to the pager's top template container.  
Public PropertyPageSizeDetermines the maximum number of records per page.  
Public PropertyPagingClientEventsHolds client side event definitions for the pager.  
Public PropertyPreviousPageTextThe text of the previous pager link.  
Public PropertyQuickPagesDetermines how many pages are available at each side of the current page. Default is 0 meaning that QuickPages feature is disabled.  
Protected Properties
 NameDescription
Protected PropertyAdditionalClientState (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyCollectionData (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyControlRunBotReturns reference to the Grid's runbot (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyDelayLoadingClientCollectionsCustomizes the client collections loading. If true the collections will be loaded after view state has been loaded. If false the collections will be loaded in RunBot.HandleOnInit. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyIsTrackingViewStateThis method returns a boolean value which indicates whether ViewState is being tracked for the object. Once viewstate is being tracked, all property changes are roundtripped from server to client and back within the ViewState hidden field. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyPropCountReturns number of properties for the client state supported by the behavior. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyRequiresDataBindingOverridden. Paging requires data binding  
Protected PropertyTransactionLists (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyViewStateProperty to return the ViewState bag for the object. If none exist, then one is created. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public Methods
 NameDescription
Public MethodCloneClones the object (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public MethodCopyToOverridden. Copies properties from the current object into the passed in object  
Public MethodGetTemplateNamesGets names of the templates supported by the pager behavior.  
Public MethodInstantiateTemplatesThe method is called by the framework to intstantiate the behavior's templates.  
Public MethodIsDirtyOverloaded. This method determines if the property with the specified Id within the ViewState bag is dirty and needs to be sent to and from the client. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public MethodOnPageIndexChangedFires the PageIndexChanged event. Called by the pager whenever a page is changed.  
Public MethodToStringReturns string representation of the object. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected Methods
 NameDescription
Protected MethodCreateClientEventsOverridden. Overrides base class' method. Returns an instance of PagingClientEvents.  
Protected MethodCreateNewInstanceCreates a new instance of the current type using the default constructor. Derived classes may override the method if there is no parameterless constructor or any other custom logic applies. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodFlushEmpties the positional and occasional property stringBuffers and converts them to a string representation that can be written to the response stream. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodGetClientPropertiesArray (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodGetRoleCountOverridden. Overrides base class' method. Returns number of AppStyling roles supported by pager.  
Protected MethodGetRoleInfoOverridden. Overrides base class' method. Gets reference to the pager's role info by its index.  
Protected MethodLoadAdditionalClientStateThis method is called when additional information is passed from the client, via the _saveAdditionalClientState javascript method (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientCollectionsLoads the Collections that were sent down to the client, back into the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientCollectionsTransactionListReads the TransactionList and repopulates the collections of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientObjectsLoads the Objects that were sent down to the client, back into the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientObjectsTransactionListReads the Transaction List and repopulates the objects of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientPropsTransactionListReads the Transaction List and repopulates the properties of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientStateThis method takes the state from the client and loads the control's Properties, Objects, and Collections, that were sent down to the client on the last post. It also stores the TransactionLists for the Properties, Objects, and Collections. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientStateFromViewStateChecks to see if ClientState was saved into Viewstate, if so, then it loads. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadCollectionsStateFromViewStateLoads the saved into view state client collections and deserializes the string as it came from the client side. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadOccasionalProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadOccasionalProperty (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadPositionalPropertiesLoads client state properties from the client (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadPositionalPropertyLoad positional property at index (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadTransactionListLoads the transaction list. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadViewStateOverridden. Load data modified at run time.  
Protected MethodMultiInstancesAllowedIndicates whether functionality can be added into the functionality collection multiple times. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnActionOverridden. Overrides base class' method. Handles processing of the page change in the pager.  
Protected MethodOnCallbackCreatedOverridden. Overrides base class' method. Called when an asynchronous request is initiated by the pager - a page is being changed and the pager is in the AJAX mode.  
Protected MethodOnCallbackRenderCalled when the behavior needs to returns its response to an asynchrohous request. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnItemCommandOverridden.   
Protected MethodOnLoadOverridden. Overrides base behavior's GridBehavior.OnLoad method. Hooks up all of the internal events from inside of the method.  
Protected MethodOnPartialClearCalled when the behaviors collection is being partially cleared. This is where the behavior will have to remove any controls it added to the grid's controls collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnPropertyChangeOverloaded. Virtual method that is called whenever a server state property within the object has been changed. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodOnUnloadOverridden. Overrides base class' method. Unhooks all of the internal event handlers previously hooked by the pager.  
Protected MethodPreFetchPositionalClientPropertyFetch a positional property from the transaction list before the properties are loaded. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodRebindGridRequires the grid to clear its records and rebinds it.  
Protected MethodRegisterScriptsOverridden. Overrides base class' method. Called by the framework for the pager to provide its script references.  
Protected MethodRenderBottomRenders the pager on the bottom of the grid.  
Protected MethodRenderNextPreviousPagerRenders NextPrevious pager.  
Protected MethodRenderNumericFirstLastPagerRenders the NumericFirstLast pager.  
Protected MethodRenderNumericPagerRenders the numeric pager.  
Protected MethodRenderPageLinkOverloaded. Render's a numeric link.  
Protected MethodRenderPagerRenders pager.  
Protected MethodRenderSeoPageLinkRender's a search engine optimized link.  
Protected MethodRenderSeoPagerRenders search engine optimized pager.  
Protected MethodRenderTopRenders the pager on the top of the grid.  
Protected MethodResetClientStateResets the positional and occasional property stringBuffers to initial empty values. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveClientCollectionsSaves all Collections that should go to the client into a javascript array. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveClientObjectsSaves all objects that should go to the client into a javascript array. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveClientPropertiesOverloaded. Overridden. Saves extra properties to send to the client.  
Protected MethodSaveClientStateToViewStateIf the control is not visible, we don't want to loose our ClientState during the next postback, so lets store it in ViewState. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveCollectionsStateToViewStateSaves the client collections state as string into the view state. This way we can skip the expensive serialization on the client side and not send them at all. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveViewStateOverrides base class' method. Saves the view state of the behavior. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodTrackViewStateOverrides base class' method. Enables the view state tracking for the behavior. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodWriteAdditionalClientPropertiesCalled by the framework for the behavior to add its additional client roperties. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodWriteClientCollections (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientObjects (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientOnlyPropertyOverridden. Stores the property in hashtable, that will be rendered down to the client. Client only properties only get sent down to the client, they do not get sent back to the server.  
Protected MethodWriteClientProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientStateResponsible for rendering javascript array of all client properties, events, objects and collections Calls helper methods to render each in turn. That method is called to render parameter for initialization (constructor) java-script function. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWritePositionalPropertyWrites the passed in property value at the current position of the ClientState serialization. The property is serialized to the positional properties string of the ClientState string. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public Events
 NameDescription
Public EventPageIndexChangedEvent that is fired every time a page index is changed by the user.  
See Also