HtmlControl.GetAttribute Method (String)
Gets the value of the named attribute on the HtmlControl control.
Assembly: System.Web (in System.Web.dll)
The name of the attribute. This argument is case-insensitive.
Use the HtmlControl server control. All HTML server controls store their attributes in the Control.ViewState property. HTML attributes are treated by the ASP.NET page framework as properties on the HTML server control to which they belong. The method's name parameter is case-insensitive.method to access an attribute on the
Available since 2.0