NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlControl.TagName

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;

Property Value

The element name of the specified tag.

Remarks

For a server-side <div id="myDiv" runat=server> element, the TagName property would contain a value of div.

See Also

HtmlControl Class | HtmlControl Members | System.Web.UI.HtmlControls Namespace