BasePostBackControl Class
Enables controls to set or retrieve data from the helper.
Syntax
Visual Basic MustInherit Public Class BasePostBackControl Inherits BaseRichControl Implements IPostBackEventHandler, IPostBackDataHandler C# public abstract class BasePostBackControl : BaseRichControl, IPostBackEventHandler, IPostBackDataHandler Managed C++ public: __gc __abstract class BasePostBackControl : public BaseRichControl, IPostBackEventHandler, IPostBackDataHandler JScript public abstract class BasePostBackControl extends BaseRichControl, IPostBackEventHandler, IPostBackDataHandler
Inheritance Hierarchy
Remarks
Before calling OnPreRender or base.OnPreRender, be sure to assign the data to HelperData.
The hidden helper has an ID of HelperID.
The hidden helper is created when NeedHelper is
true
.
Members Table
The following table lists the members exposed by the BasePostBackControl object.
Property Description ClientHelperID Retrieves a value that indicates the ID of the hidden helper on the client-side. HelperData Sets or retrieves a value that indicates the data stored in the hidden helper. HelperID Retrieves a value that indicates the ID of the hidden helper. NeedHelper Retrieves a value that indicates if a hidden helper is needed by the control.
Method Description IPostBackDataEventHandler.RaisePostBackEvent Enables a server control to process an event raised when a form is posted to the server. IPostBackDataHandler.LoadPostData Processes post-back data for a server control. IPostBackDataHandler.RaisePostDataChangedEvent Signals the server control object to notify the ASP.NET application that the state of the control has changed. LoadPostData Processes post-back data from a server control. OnInit If a hidden helper is needed, the control is registered as needing post-back handling. OnPreRender Sets the hidden helper's data if a hidden helper is needed. ProcessData Processes post-back data from the hidden helper for the server control. RaisePostBackEvent Enables a server control to process an event raised when a form is posted to the server. RaisePostDataChangedEvent Signals the server control object to notify the ASP.NET application that the state of the control has changed.
Class Information
Namespace Microsoft.Web.UI.WebControls Assembly Microsoft.Web.UI.WebControls.dll
See Also