Export (0) Print
Expand All

Methods in ASP.NET Server Controls

.NET Framework 1.1

For a complete list of methods inherited from the base classes, see Control and WebControl. Your control can override methods inherited from a base class as well as define new methods. For information about methods that raise events (named OnEventName), see Handling Inherited Events.

Overriding Methods Inherited from Control

The following list describes some of the commonly overridden methods of Control.

  • CreateChildControls method

    Signals to a composite control that it should create child controls in preparation for postback or rendering. For an example of this method, see Composite Control Sample.

  • Dispose method

    Enables a control to perform final cleanup.

  • LoadViewState method

    Allows a control to customize how state information is restored. For an example of this method, see Templated Data-Bound Control Sample.

  • SaveViewState method

    Enables a control to customize how state information is persisted for use in another Web request. For an example of this method, see Templated Data-Bound Control Sample.

  • Render method

    Enables a control to render content to the client browser. For details, see Rendering an ASP.NET Server Control.

See Also

Events in ASP.NET Server Controls

Show:
© 2014 Microsoft