ASP.NET Control Standard Properties

## ASP.NET Tutorial

ASP.NET HOME ASP.NET Intro

## WP Tutorial

WebPages Intro WebPages Razor WebPages Layout WebPages Folders WebPages Global WebPages Forms WebPages Objects WebPages Files WebPages Databases WebPages Helpers WebPages WebGrid WebPages Charts WebPages Email WebPages PHP WebPages Publish WebPages Examples

## WP References

WebPages Classes WebPages Security WebPages Database WebPages WebMail WebPages Helpers

## ASP.NET Razor

Razor Intro Razor Syntax Razor C# Variables Razor C# Loops Razor C# Logic Razor VB Variables Razor VB Loops Razor VB Logic

## ASP.NET MVC

MVC Intro MVC Application MVC Folders MVC Layout MVC Controllers MVC Views MVC Database MVC Models MVC Security MVC HTML Helpers MVC Publish MVC Reference

## WF Tutorials

WebForms Intro WebForms Pages WebForms Controls WebForms Events WebForms Forms WebForms ViewState WebForms TextBox WebForms Button WebForms Data Binding WebForms ArrayList WebForms Hashtable WebForms SortedList WebForms XML Files WebForms Repeater WebForms DataList WebForms DbConnection WebForms Master Pages WebForms Navigation WebForms Examples

## WF References

WebForms HTML WebForms Controls WebForms Validation

# ASP.NET Control Standard Properties

Complete Web Control Reference

## Properties

The following table describes the properties inherited from the Control class:

Property | Description | .NET
--- | --- | ---
AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. | 1.0
BindingContainer | The control that contains this control's data binding | 1.0
ClientID | The server control id created by ASP.NET. | 1.0
Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. | 1.0
EnableTheming | A value indicating whether or not themes apply to the control | 1.0
EnableViewState | A 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
ID | The id assigned to the control | 2.0
NamingContainer | A reference to the server control's naming container | 1.0
Page | A reference to the page that contains the control | 1.0
Parent | A reference to the control's parent | 2.0
Site | Information about the container of the current control (Get value only) | 2.0
TemplateControl | A reference to the template that contains the current control | 1.0
TemplateSourceDirectory | The virtual directory of the page/control that contains the current control | 1.0
UniqueID | The unique id for the server control (Get value only) | 1.0
Visible | A value indicating whether a control is rendered as UI | 1.0

Complete Web Control Reference

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE