Page.DeterminePostBackMode Method
.NET Framework 2.0
Returns a NameValueCollection of data posted back to the page using either a POST or a GET command.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Protected Friend Overridable Function DeterminePostBackMode As NameValueCollection 'Usage Dim returnValue As NameValueCollection returnValue = Me.DeterminePostBackMode
protected NameValueCollection DeterminePostBackMode ()
protected internal function DeterminePostBackMode () : NameValueCollection
Not applicable.
Return Value
A NameValueCollection object that contains the form data. If the postback used the POST command, the form information is returned from the Context object. If the postback used the GET command, 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.The DeterminePostBackMode method returns a NameValueCollection object that contains the data posted back to the page. The presence of the page hidden fields VIEWSTATE and EVENTTARGET is used to help determine whether a postback event has occurred. The IsPostBack property is set when the DeterminePostBackMode method is called.
Community Additions
ADD
Show: