PageAdapter::GetPostBackFormReference Method (String^)
.NET Framework (current version)
Returns a DHTML code fragment that the client browser can use to reference the form on the page that was posted.
Assembly: System.Web (in System.Web.dll)
Parameters
- 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:
document.forms['formID']
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:
document.formID
.NET Framework
Available since 2.0
Available since 2.0
Show: