PageAdapter.GetPostBackFormReference Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft