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

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
)
Not applicable.

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 by the .NET Framework internally.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: