Previous Topic

Next Topic

Book Contents

Link

This control represents html anchor. It could be displayed as simple text link or some image. By default, it is a text link.

Attributes

Name

Value

class

Name of Cascading Style Sheet (CSS) class applied to anchor tag.

style

Style attribute for anchor tag.

Type

Type of button control. Can be Link or Image. Default is Link.

ImageUrl

Path to image.

ImageAlign

One of the following values: Left, Right, Baseline, Top, Middle, Bottom, AbsBottom, AbsMiddle, TextTop.

Sample

The simplest way to describe some link with ID SomeID:

<SiteBuilder:Link ID="SomeID" />

Or you can define image link with ID SomeID and URL to some theme image:

<SiteBuilder:Link ID="SomeID" Type="Image" ImageUrl="$Theme$/images/someimage.gif" ImageAlign="AbsMiddle" />

See Also

Appendix A

Container

TextDiv

List

TextInput

ValidationText

Button