ASPxDataViewBase.PagerPanelCommand Event
Fires when a control contained within a templated pager panel raises the Command event.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Event Data
The PagerPanelCommand event's data class is DataViewPagerPanelCommandEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
CommandArgument | Gets the argument for the command. Inherited from CommandEventArgs. |
CommandName | Gets the name of the command. Inherited from CommandEventArgs. |
CommandSource | Gets an object representing the control which forced a postback. |
Position | Gets the template’s vertical position. |
TemplatePosition | Gets the template’s position within a pager. |
Remarks
An ASPxDataView control allows the pager’s panel to be customized through defining templates. A template of a pager panel can be specified by using the ASPxDataViewBase.PagerPanelLeftTemplate and ASPxDataViewBase.PagerPanelRightTemplate properties. A template is a set of HTML elements and controls that constitute a layout of a particular page panel.
The PagerPanelCommand event is raised when the control contained within a template page panel raises the Command event. Handle the PagerPanelCommand event to perform specific actions each time the Command event is raised by the control contained within any templated page panel.