TemplateColumn::FooterTemplate Property
Gets or sets the template for displaying the footer section of the TemplateColumn object.
Assembly: System.Web (in System.Web.dll)
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] [BrowsableAttribute(false)] [TemplateContainerAttribute(typeof(DataGridItem))] public: virtual property ITemplate^ FooterTemplate { ITemplate^ get (); void set (ITemplate^ value); }
Property Value
Type: System.Web.UI::ITemplateA System.Web.UI::ITemplate-implemented object that contains the template for displaying the footer section of the TemplateColumn. The default value is nullptr, 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.