asp.net.ph

HtmlControl.TagName Property

System.Web.UI.HtmlControls   HtmlControl Class


Gets the element name of a tag that contains a runat=server attribute/value pair.

Syntax


Script HtmlControl.TagName

This property can only be used programmatically; it cannot be set when declaring the control.

Property Value

The HTML element name of the specified tag.

Remarks

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

See Also

HtmlControl Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph