FormView.FooterRow Property

 

Gets the FormViewRow object that represents the footer row in a FormView control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

[<BrowsableAttribute(false)>]
abstract FooterRow : FormViewRow with get
[<BrowsableAttribute(false)>]
override FooterRow : FormViewRow with get

Property Value

Type: System.Web.UI.WebControls.FormViewRow

A FormViewRow that represents the footer row in a FormView control.

The footer row is displayed at the bottom of the FormView control when the FooterText or FooterTemplate property is set. Use the FooterRow property to programmatically access the FormViewRow object that represents the footer row.

System_CAPS_noteNote

The FooterRow property is available only after the FormView control creates the footer row in the ItemCreated event.

This property is commonly used when you need to programmatically manipulate the footer row, for example when adding custom content. Any modification to the FooterRow property must be performed after the FormView control has been rendered; otherwise, the FormView control overwrites any changes.

To control the style of the footer row, use the FooterStyle property.

The following example demonstrates how to use the FooterRow property to programmatically modify the properties of the footer row during the ItemCreated event.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: