Skip to main content
Tab

ASPxGridViewExportSettings.PageFooter Property

Gets the page footer’s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public GridViewExporterHeaderFooter PageFooter { get; }

Property Value

Type Description
GridViewExporterHeaderFooter

An object that contains the page footer’s settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to PageFooter
ASPxGridView
.SettingsExport .PageFooter

Remarks

Use the PageHeader and PageFooter properties to specify custom text content for an exported document page’s header and footer. Both headers and footers provide three sections - with left, centered and right alignment. You can use the following service fields in the header and footer content:

Service Field Description
[Page #] Page number
[Pages #] Total number of pages
[Page # of Pages #] Page number and total number of pages
[Date Printed] Current date
[Time Printed] Current time
<dx:ASPxGridView ID="grid" runat="server" DataSourceID="CustomerReportsDataSource">
    <SettingsExport ExcelExportMode="WYSIWYG">
        <PageFooter Center="[Page #]" />
        <PageHeader Right="[Date Printed]" Left="Developer Express Inc."/>
    </SettingsExport>
    <%--...--%>
</dx:ASPxGridView>

You can use the ReportHeader and ReportFooter properties to specify the report header and footer.

Limitations

See Also