PageAdapter::GetPostBackFormReference Method
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.
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
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.