Assembly: System.Web (in System.Web.dll)
The footer row is displayed at the bottom of the DetailsView control when the FooterText or FooterTemplate property is set. Use the property to programmatically access the DetailsViewRow object that represents the footer row.
This property is commonly used when you need to programmatically manipulate the footer row, for example when adding custom content. Any modification to the property must be performed after the DetailsView control has been rendered; otherwise, the DetailsView control will overwrite any changes.
To control the style of the footer row, use the FooterStyle property.
The following code example demonstrates how to use the property to access the footer row of the DetailsView control during the ItemCreated event. A Label control within the custom footer row is then updated with the current page number.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)