System.Web.UI.HtmlControls.HtmlAnchor Members

The members of System.Web.UI.HtmlControls.HtmlAnchor are listed below.

See Also: Inherited members from System.Web.UI.HtmlControls.HtmlContainerControl

Public Constructors

Initializes a new instance of the System.Web.UI.HtmlControls.HtmlAnchor class.

Public Properties

CausesValidationbool.

Gets or sets a value indicating whether validation is performed when the System.Web.UI.HtmlControls.HtmlAnchor control is clicked.

HRefstring.

Gets or sets the URL target of the link specified in the System.Web.UI.HtmlControls.HtmlAnchor server control.

Namestring.

Gets or sets the bookmark name defined in the System.Web.UI.HtmlControls.HtmlAnchor server control.

Targetstring.

Gets or sets the name of the browser window or frame that displays the contents of the Web page that is linked to when the System.Web.UI.HtmlControls.HtmlAnchor control is clicked.

Titlestring.

Gets or sets the ToolTip text displayed when the mouse pointer is placed over the System.Web.UI.HtmlControls.HtmlAnchor control.

ValidationGroupstring.

Gets or sets the group of controls for which the System.Web.UI.HtmlControls.HtmlAnchor control causes validation when it posts back to the server.

Protected Methods

override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event and registers client script for generating a postback.

OnServerClick(EventArgs)

Raises the HtmlAnchor.ServerClick event. This allows you to provide a custom handler for the event.

RaisePostBackEvent(string)

Raises events for the System.Web.UI.HtmlControls.HtmlAnchor control when it posts back to the server.

override
RenderAttributes(System.Web.UI.HtmlTextWriter)

Renders the System.Web.UI.HtmlControls.HtmlAnchor control's attributes to the specified System.Web.UI.HtmlTextWriter object.

Public Events

ServerClick

Occurs when the System.Web.UI.HtmlControls.HtmlAnchor control is clicked.

Explicitly Implemented Interface Members