PageAdapter.GetPostBackFormReference Method (String)


Returns a DHTML code fragment that the client browser can use to reference the form on the page that was posted.

Namespace:   System.Web.UI.Adapters
Assembly:  System.Web (in System.Web.dll)

protected internal virtual string GetPostBackFormReference(
	string formId


Type: System.String

A String containing the client ID of the form that was posted.

Return Value

Type: System.String

A String with a reference to the form on the page that was posted.

The GetPostBackFormReference method provides a DHTML reference to the postback form. The code fragment has the following format:


Notes to Inheritors:

When you inherit from the PageAdapter class, you can override the GetPostBackFormReference method if the markup for the browser supported by the adapter requires a different format for the postback form reference. For example, the HTML 3.2 standard used by PocketPC browsers requires the following format:


.NET Framework
Available since 2.0
Return to top