Gets or sets the element name of a tag that contains a runat="server" attribute/value pair.
[Visual Basic] Property TagName As String [C#] string TagName {set;} [C++] public: __property void set_TagName(String*); [JScript] public function set TagName(String);
Element name of the specified tag.
For a <span id="MySpan" runat="server"/> tag, this property would contain a value of span.
HtmlGenericControl Class | HtmlGenericControl Members | System.Web.UI.HtmlControls Namespace