//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
/*
* Controls that can accept postback data should implement this interface.
*
* Copyright (c) 1999 Microsoft Corporation
*/
namespace System.Web.UI {
using System;
using System.Collections;
using System.Collections.Specialized;
///
/// Defines the contract that controls must implement in order to
/// automatically load post back data.
///
public interface IPostBackDataHandler {
/*
* Processes the post data returned from the client for this control.
* Answer true if the post data causes our state to change.
*/
///
/// Processes the post back data for the specified control.
///
bool LoadPostData(string postDataKey, NameValueCollection postCollection);
/*
* Notify any listeners that our state has changed as the result of
* a post back.
*/
///
/// Signals the control to notify any listeners that the state of the
/// control has changed.
///
void RaisePostDataChangedEvent();
}
}