O'Reilly logo

A Programmer's Guide to .NET by Alexei Fedorov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.6. Control class

This class defines properties, methods, and events for all ASP.NET server controls – either controls that have a user interface or controls without one. Web forms pages are server controls and are based on the Page class, which we will discuss below.

The Control class has the following properties.

  • ClientID Contains the server control identifier generated by ASP.NET.

  • Controls Contains the ControlCollection object, which is a collection of all child controls for this server control.

  • EnableViewState Indicates whether or not the server control maintains its view state and the view state of any of its child controls.

  • ID Specifies the server control’s programmatic identifier.

  • Page Indicates the Page object that contains this server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required