DataList.TagKey Property
.NET Framework 3.0
Gets the HTML tag that is used to render the DataList control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ protected HtmlTextWriterTag get_TagKey ()
protected override function get TagKey () : HtmlTextWriterTag
Not applicable.
Property Value
Returns the Table tag if the RepeatLayout is set to Table; otherwise, returns the Span tag. The default is Table.Use the TagKey property to determine the HtmlTextWriterTag value that is associated with a DataList control. The TagKey property is used primarily by control developers.
Community Additions
ADD
Show: