W3Schools
  home HOME Tutorials | References | Examples | Forum | About
Search W3Schools:

ASP.NET Tutorial
.NET HOME
.NET Intro
.NET vs ASP
.NET Install
.NET Pages
.NET Controls
.NET Events

ASP.NET Forms
.NET Forms
.NET ViewState
asp:TextBox
asp:Button

ASP.NET Binding
Data Binding
ArrayList
Hashtable
SortedList
XML Files
asp:Repeater
asp:DataList

ASP.NET Database
.NET DB Connection

ASP.NET 2.0
2.0 New Features
2.0 Master Pages
2.0 Navigation

References
HTML Controls
Web Controls
Validation Controls

Examples
ASP.NET Examples

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Tutorials
W3Schools Forum

Helping W3Schools

ASP.NET Control Standard Properties


Web Control Reference 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


Web Control Reference Complete Web Control Reference




diploma   

Get Your Diploma!

W3Schools' Online Certification Program is the perfect solution for busy professionals who need to balance work, family, and career building.

The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.

The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.



Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2008 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999