XhtmlControlAdapter.RenderPostBackEventAsAnchor Method (XhtmlMobileTextWriter, String, String, String, Style, String)

Note: This method is new in the .NET Framework version 2.0.

Renders a postback event as a link with the specified argument, text, and access key, as well as the specified styles or the specified cascading style sheet class name.

Namespace: System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected:
virtual void RenderPostBackEventAsAnchor (
	XhtmlMobileTextWriter^ writer, 
	String^ argument, 
	String^ linkText, 
	String^ accessKey, 
	Style^ style, 
	String^ cssClass
)
protected void RenderPostBackEventAsAnchor (
	XhtmlMobileTextWriter writer, 
	String argument, 
	String linkText, 
	String accessKey, 
	Style style, 
	String cssClass
)
protected function RenderPostBackEventAsAnchor (
	writer : XhtmlMobileTextWriter, 
	argument : String, 
	linkText : String, 
	accessKey : String, 
	style : Style, 
	cssClass : String
)

Parameters

writer

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

argument

The argument to pass to the event.

linkText

The text that is to appear in the link.

accessKey

A character to use as the shortcut key.

style

A Style object.

cssClass

The name of a class in the current cascading style sheet.

This method is primarily used internally by the framework.

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

Community Additions

ADD
Show: