PageAdapter.GetPostBackFormReference(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a DHTML code fragment that the client browser can use to reference the form on the page that was posted.
protected public:
virtual System::String ^ GetPostBackFormReference(System::String ^ formId);
protected internal virtual string GetPostBackFormReference (string formId);
abstract member GetPostBackFormReference : string -> string
override this.GetPostBackFormReference : string -> string
Protected Friend Overridable Function GetPostBackFormReference (formId As String) As String
Parameters
Returns
A String with a reference to the form on the page that was posted.
Remarks
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(String) 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