Link Class
Collapse the table of content
Expand the table of content

Link Class

Represents a hyperlink to another MobileControl.Form on the same mobile page or to an arbitrary URI.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in

public class Link : TextControl, IPostBackEventHandler
public class Link extends TextControl implements IPostBackEventHandler
public class Link extends TextControl implements IPostBackEventHandler

On all devices, the link is rendered in such a way that the Text property displays on the device to the user. When the user invokes the link, the browser navigates to the specified NavigateUrl property. The application must contain code that verifies that a link is browsable on a particular device. For example, the link is not browsable on a WML-capable device.

If the Text property is empty, the value in the NavigateUrl property is also used for the Text property. Specifically, when the text writer renders a link, it first checks the Text property for the text to display; if that property is empty, it displays the value of the NavigateUrl property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

© 2016 Microsoft