Επεξεργασία

Κοινή χρήση μέσω


XhtmlControlAdapter.RenderBeginLink Method

Definition

Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as the given styles or the given cascading style sheet class name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as either the given styles or the given cascading style sheet class name, the access key, and the title text. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(XhtmlMobileTextWriter, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as the given styles or the given cascading style sheet class name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void RenderBeginLink(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ target, System::String ^ accessKey, System::Web::UI::MobileControls::Style ^ style, System::String ^ cssClass);
protected virtual void RenderBeginLink (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string target, string accessKey, System.Web.UI.MobileControls.Style style, string cssClass);
abstract member RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string -> unit
override this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string -> unit
Protected Overridable Sub RenderBeginLink (writer As XhtmlMobileTextWriter, target As String, accessKey As String, style As Style, cssClass As String)

Parameters

writer
XhtmlMobileTextWriter

The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

target
String

The target form or URL.

accessKey
String

A character to use as the shortcut key.

style
Style

A Style object.

cssClass
String

A cascading style sheet class name.

Remarks

This method automatically checks for the type of link and renders the appropriate markup. The specified target can refer to another URL or to a form on the same page. If style is not null, the styles are applied to the link. If cssClass is not an empty string ("") and style is null, the link is rendered with a class attribute.

This method is primarily used by the .NET Framework internally.

See also

Applies to

RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as either the given styles or the given cascading style sheet class name, the access key, and the title text. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void RenderBeginLink(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ target, System::String ^ accessKey, System::Web::UI::MobileControls::Style ^ style, System::String ^ cssClass, System::String ^ title);
protected virtual void RenderBeginLink (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string target, string accessKey, System.Web.UI.MobileControls.Style style, string cssClass, string title);
abstract member RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string * string -> unit
override this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string * string -> unit
Protected Overridable Sub RenderBeginLink (writer As XhtmlMobileTextWriter, target As String, accessKey As String, style As Style, cssClass As String, title As String)

Parameters

writer
XhtmlMobileTextWriter

The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

target
String

The target form or URL.

accessKey
String

A character to use as the shortcut key.

style
Style

A Style object.

cssClass
String

A cascading style sheet class name.

title
String

The text for the title attribute of the link.

Remarks

This method is primarily used by the .NET Framework internally.

See also

Applies to

RenderBeginLink(XhtmlMobileTextWriter, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void RenderBeginLink(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ target);
protected virtual void RenderBeginLink (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string target);
abstract member RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
override this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
Protected Overridable Sub RenderBeginLink (writer As XhtmlMobileTextWriter, target As String)

Parameters

writer
XhtmlMobileTextWriter

The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

target
String

The name of the target form, or a URL.

Remarks

This method automatically checks for the type of link and renders the appropriate markup. The specified target can refer to another URL or to a form on the same page.

This method is primarily used by the .NET Framework internally.

See also

Applies to