Dundas Gauge for ASP.NET Send comments on this topic
TagAttributes Property
See Also 
Dundas.Gauges.WebControl Namespace > GaugeContainer Class : TagAttributes Property


Gets or sets any additional attributes that are to be placed inside the rendered tag.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Image")>
<PersistenceModeAttribute()>
<DefaultValueAttribute()>
<DescriptionAttribute("Additional attributes that are to be placed inside the rendered tag.")>
Public Property TagAttributes As String
Visual Basic (Usage)Copy Code
Dim instance As GaugeContainer
Dim value As String
 
instance.TagAttributes = value
 
value = instance.TagAttributes
C# 
[CategoryAttribute("Image")]
[PersistenceModeAttribute()]
[DefaultValueAttribute()]
[DescriptionAttribute("Additional attributes that are to be placed inside the rendered tag.")]
public string TagAttributes {get; set;}

Return Value

A string containg location of the image. By default this property is empty.

Remarks

If the RenderType property is set to RenderType.ImageTag the Dundas Gauge component will place an img tag with the location of the gauge image on the server. You can use the TagAttributes property to place any additional attributes of the img tag, like align, border, alt, etc. You can also use this property to handle events such as onload, onclick, etc."

If the Dundas Gauge is rendered as a Winows Forms control (a.k.a. SmartClient) an object tag is placed. Then the TagAttributes property can be used to provide additional attributes that will be placed inside the object tag. Similarly you can use it to specify attributes and handle events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also