System.Web.UI.Adapters.PageAdapter.RenderPostBackEvent Method

Renders a postback event into the response stream as a hyperlink, including the encoded view state, an event target and argument, a previous-page parameter, and an access key.

Syntax

protected void RenderPostBackEvent (System.Web.UI.HtmlTextWriter w, string target, string argument, string softKeyLabel, string text, string postUrl, string accessKey, bool encode)

Parameters

w
Documentation for this section has not yet been entered.
softKeyLabel
Documentation for this section has not yet been entered.
target
The string value holding the postback event target name.
argument
The string value holding the argument to pass to the postback target event.
text
The string value of the text to display as the link.
postUrl
The string value holding the URL target page of the postback.
accessKey
The string value to assign to the accessKey attribute of the created link.
encode
true to use & as the URL parameter separator; false to use &.

Remarks

The PageAdapter.RenderPostBackEvent(System.Web.UI.HtmlTextWriter, string, string, string, string, string, string) method writes a postback event as a scriptless hyperlink, including the possibly chunked System.Web.HttpUtility.UrlEncode(string) view state, __EVENTTARGET=target, __EVENTARGUMENT=argument, __PREVIOUSPAGE=currentFilePath parameters, and an accessKey="accessKey" attribute.

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0