Share via


DeterminePostBackMode Method (Common)

Called to determine the postback data collection.

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

Parameters

  • request
    HttpRequest object that contains request information, such as HTTP headers.
  • postEventSourceID
    Source identifier for the event.
  • postEventArgumentID
    Argument identifier for the event.
  • baseCollection
    Collection of postback data from the request object.

Remarks

Because some devices handle postback differently than 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.

See Also

Applies to: ChtmlPageAdapter Class | HtmlPageAdapter Class | WmlPageAdapter Class | UpWmlPageAdapter Class