GeekDork.WebSkeleton Reference

IProperties.BodyAttributes Property

Attribute collection of the internal body tag.

[Visual Basic]
Property BodyAttributes As AttributeCollection
[C#]
System.Web.UI.AttributeCollection BodyAttributes {get;}

Example

Adds a javascript alert to the body tag's onUnload client event.

            BodyAttributes.Item("onUnload") = "alert('Page unloaded');"
            

See Also

IProperties Interface | GeekDork.WebSkeleton Namespace