HtmlControl::TagName Property
.NET Framework (current version)
Gets the element name of a tag that contains a runat=server attribute and value pair.
Assembly: System.Web (in System.Web.dll)
Use this property to programmatically determine the element name of the HTML server control. For example, the TagName property of the server-side <div id="myDiv" runat=server> element contains the value "div".
.NET Framework
Available since 1.1
Available since 1.1
Show: