Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DeterminePostBackMode Method

Page.DeterminePostBackMode Method

Determines the type of request made for the Page class.

[Visual Basic]
Protected Overridable Function DeterminePostBackMode() As _
   NameValueCollection
[C#]
protected virtual NameValueCollection DeterminePostBackMode();
[C++]
protected: virtual NameValueCollection* DeterminePostBackMode();
[JScript]
protected function DeterminePostBackMode() : NameValueCollection;

Return Value

If the post back used the POST method, the form information is returned from the Context object. If the postback used the GET method, the query string information is returned. If the page is being requested for the first time, a null reference (Nothing in Visual Basic) is returned.

Remarks

This information is based on whether the page was posted back and whether the GET or POST HTTP method was used for the request.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Page Class | Page Members | System.Web.UI Namespace | HttpContext

Show:
© 2015 Microsoft