Back to Devexpress

ASPxDataViewBase.PagerPanelCommand Event

aspnet-devexpress-dot-web-dot-aspxdataviewbase-30a3d3a6.md

latest3.2 KB
Original Source

ASPxDataViewBase.PagerPanelCommand Event

Fires when a control contained within a templated pager panel raises the Command event.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event DataViewPagerPanelCommandEventHandler PagerPanelCommand
vb
Public Event PagerPanelCommand As DataViewPagerPanelCommandEventHandler

Event Data

The PagerPanelCommand event's data class is DataViewPagerPanelCommandEventArgs. The following properties provide information specific to this event:

PropertyDescription
CommandArgumentGets the argument for the command. Inherited from CommandEventArgs.
CommandNameGets the name of the command. Inherited from CommandEventArgs.
CommandSourceGets an object representing the control which forced a postback.
PositionGets the template’s vertical position.
TemplatePositionGets 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.

See Also

DataView

ASPxDataViewBase Class

ASPxDataViewBase Members

DevExpress.Web Namespace