asp.net.ph

DataList.ShowHeader Property

System.Web.UI.WebControls Namespace   DataList Class


Sets or retrieves a value that specifies whether the header section is displayed in a DataList.

Syntax


Script DataList.ShowHeader [ = true | false ]

Property Value

This property accepts or returns only a boolean value: true to display the header; otherwise false. Default value is true.

Remarks

Use the ShowHeader property to specify whether the header section is displayed in a DataList control. You can control the content and appearance of the header by setting the HeaderTemplate and HeaderStyle properties accordingly.

NOTE: This property is only evaluated when a HeaderTemplate is defined for the control.

See Also

DataList Members   HeaderTemplate   HeaderStyle   ShowFooter Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph