Gets the element name of a tag that contains a runat=server attribute/value pair.
[Visual Basic] Overridable Public ReadOnly Property TagName As String [C#] public string TagName {virtual get;} [C++] public: __property virtual String* get_TagName(); [JScript] public function get TagName() : String;
The element name of the specified tag.
For a server-side <div id="myDiv" runat=server> element, the TagName property would contain a value of div.
HtmlControl Class | HtmlControl Members | System.Web.UI.HtmlControls Namespace