TemplateColumn.FooterTemplate Property

Gets or sets the template for displaying the footer section of the TemplateColumn object.

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

[TemplateContainerAttribute(typeof(DataGridItem))] 
public:
virtual property ITemplate^ FooterTemplate {
	ITemplate^ get ();
	void set (ITemplate^ value);
}
/** @property */
public ITemplate get_FooterTemplate ()

/** @property */
public void set_FooterTemplate (ITemplate value)

public function get FooterTemplate () : ITemplate

public function set FooterTemplate (value : ITemplate)

Not applicable.

Property Value

A System.Web.UI.ITemplate-implemented object that contains the template for displaying the footer section of the TemplateColumn. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.

Use the FooterTemplate property to control the appearance of the footer section in the TemplateColumn object. The appearance is specified by creating a template that defines how the item is rendered in the column. To specify a template for the item selected for editing, first place opening and closing <FooterTemplate> tags between the opening and closing tags of the <TemplateColumn> element. You can then list the content that controls the appearance of the item between the opening and closing <FooterTemplate> tags. The content can be as simple as plain text, or it can be made more complex by embedding other controls in the template.

The following code example demonstrates how to use the FooterTemplate property to control the appearance of the footer section in the TemplateColumn object.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: