System.Web.UI.WebControls.DetailsView.FooterTemplate Property

Gets or sets the user-defined content for the footer row in a System.Web.UI.WebControls.DetailsView control.

Syntax

[System.ComponentModel.Browsable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.Web.UI.TemplateContainer(typeof(System.Web.UI.WebControls.DetailsView), System.ComponentModel.BindingDirection.OneWay)]
[System.ComponentModel.DefaultValue(null)]
public virtual System.Web.UI.ITemplate FooterTemplate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The footer row is displayed at the bottom of the System.Web.UI.WebControls.DetailsView control when the DetailsView.FooterText or DetailsView.FooterTemplate property is set. You can define your own custom user interface (UI) for the footer row by using the DetailsView.FooterTemplate property. To specify a custom template for the footer row, first place <FooterTemplate> tags between the opening and closing tags of the System.Web.UI.WebControls.DetailsView control. You can then list the contents of the template between the opening and closing <FooterTemplate> tags. To control the style of the footer row, use the DetailsView.FooterStyle property. Alternatively, you can simply display text in the footer row by setting the DetailsView.FooterText property instead of this property.

Note:

If both the DetailsView.FooterText and DetailsView.FooterTemplate properties are set, the DetailsView.FooterTemplate property takes precedence.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0