ASP.NET Control Standard Properties

When you use ASP.NET as the programming language for developing your web site, you are provided with some standard ASP.NET Control Properties. These ASP.NET Control standard properties are inherited from the Control class.

The following table shows the available ASP.NET Control standard properties together with a brief description and the .NET framework which it supports.

AppRelativeTemplateSourceDirectoryGets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.1.0
BindingContainerThe control that contains this control’s data binding1.0
ClientIDThe server control id created by ASP.NET.1.0
ControlsGets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.1.0
EnableThemingA value indicating whether or not themes apply to the control1.0
EnableViewStateA value indicating whether or not the control persists its view state, and the view state of any child controls it contains, to the requesting client.1,0
IDThe id assigned to the control2.0
NamingContainerA reference to the server control’s naming container1.0
PageA reference to the page that contains the control1.0
ParentA reference to the control’s parent2.0
SiteInformation about the container of the current control (Get value only)2.0
TemplateControlA reference to the template that contains the current control1.0
TemplateSourceDirectoryThe virtual directory of the page/control that contains the current control1.0
UniqueIDThe unique id for the server control (Get value only)1.0
VisibleA value indicating whether a control is rendered as UI1.0

Related Tutorials:

This entry was posted in ASP.NET 4 Theory and tagged , , , , , . Bookmark the permalink.