ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 594
نمايش فراداده

Link.NET 1.1, disposable

System.Web.UI.MobileControls (system.web.mobile.dll)class

The Link control represents a hyperlink to another URL (or another Form on the current page). You specify the URL using the NavigateUrl property. If the URL begins with a number symbol (#), it is interpreted as a pointer to a form on the current page. You can set the display text through the Text property or, if this property is left blank, the NavigateUrl will be used for the display text.

public class 

Link : TextControl, System.Web.UI.IPostBackEventHandler { // Public Constructors public

Link ( ); // Public Instance Properties public string

NavigateUrl {set; get; } public string

SoftkeyLabel {set; get; } // Public Instance Methods public override void

AddLinkedForms (System.Collections.IList

linkedForms ); // overrides MobileControl }

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) MobileControl(System.Web.UI.IAttributeAccessor) TextControl Link(System.Web.UI.IPostBackEventHandler)

Subclasses

LiteralLink

Returned By

System.Web.UI.MobileControls.Adapters.HtmlLinkAdapter.Control, System.Web.UI.MobileControls.Adapters.WmlLinkAdapter.Control