DataGridColumn.FooterText Property

 

Gets or sets the text displayed in the footer section of the column.

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

abstract FooterText : string with get, set
override FooterText : string with get, set

Property Value

Type: System.String

The text displayed in the footer section of the column. The default value is String.Empty.

Use the FooterText property to specify or determine the text displayed in the footer section of the column.

System_CAPS_cautionCaution

Text is not HTML-encoded before it is displayed in the footer section of the column. This makes it possible to embed script within HTML tags in the text. If this property is set dynamically using user input, be sure to validate the value to reduce security vulnerabilities.

The following code example demonstrates how to use the FooterText property to specify the text displayed in the footer section of the column.

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

.NET Framework
Available since 1.1
Return to top
Show: