HtmlPageAdapter.DeterminePostBackMode Method

Definition

Called to determine the postback data collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public virtual System.Collections.Specialized.NameValueCollection DeterminePostBackMode (System.Web.HttpRequest request, string postEventSourceID, string postEventArgumentID, System.Collections.Specialized.NameValueCollection baseCollection);

Parameters

request
HttpRequest

A HttpRequest object that contains request information, such as HTTP headers.

postEventSourceID
String

Source identifier for the event.

postEventArgumentID
String

Argument identifier for the event.

baseCollection
NameValueCollection

Collection of postback data from the request object.

Returns

A modified version of the baseCollection parameter.

Implements

Remarks

Because some devices handle postback differently from others, this method allows the adapter to modify the collection.

The HtmlPageAdapter and WmlPageAdapter implementations of this method gather control data if the post originated from a different page.

The ChtmlPageAdapter implementation performs CHTML-specific handling of postback data.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also