The following table lists the common properties of controls:
| AccessKey | It is used to get or set the access key that allows you to quickly navigate to the Web server control. |
| AppRelativeTemplateSourceDirectory | It is used to get or set the application-relative virtual directory of the Page or UserControl object that contains this control. |
| Attributes | It is used to get the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. |
| BackColor | It is used to get or set the background color of the Web server control. |
| BindingContainer | It is used to get the control that contains this control’s data binding. |
| BorderColor | It is used to get or set the border color of the Web control. |
| BorderStyle | It is used to get or set the border style of the Web server control. |
| BorderWidth | It is used to get or set the border width of the Web server control. |
| CausesValidation | It is used to get or set a value indicating whether validation is performed when the Button control is clicked. |
| ClientID | It is used to get the server control identifier generated by ASP.NET. |
| CommandArgument | It is used to get or set an optional parameter passed to the Command event along with the associated CommandName. |
| CommandName | It is used to get or set the command name associated with the Button control that is passed to the Command event. |
| Controls | It is used to get a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. |
| ControlStyle | It is used to get the style of the Web server control. This property is used primarily by control developers. |
| ControlStyleCreated | It is used to get a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. |
| CssClass | It is used to get or set the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. |
| Enabled | It is used to get or set a value indicating whether the Web server control is enabled. |
| EnableTheming | It is used to get or set a value indicating whether themes apply to this control. |
| EnableViewState | It is used to get or set a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. |
| Font | It is used to get the font properties associated with the Web server control. |
| ForeColor | It is used to get or set the foreground color (typically the color of the text) of the Web server control. |
| HasAttributes | It is used to get a value indicating whether the control has attributes set. |
| Height | It is used to get or set the height of the Web server control. |
| ID | It is used to get or set the programmatic identifier assigned to the server control. |
| NamingContainer | It is used to get a reference to the server control’s naming container, which creates a unique namespace for differentiating between server controls with the same Control.ID property value. |
| OnClientClick | It is used to get or set the client-side script that executes when a Button control’s Click event is raised. |
| Page | It is used to get a reference to the Page instance that contains the server control. |
| Parent | It is used to get a reference to the server control’s parent control in the page control hierarchy. |
| PostBackUrl | It is used to get or set the URL of the page to post to from the current page when the Button control is clicked. |
| Site | It is used to get information about the container that hosts the current control when rendered on a design surface. |
| SkinID | It is used to get or set the skin to apply to the control. |
| Style | It is used to get a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. |
| TabIndex | It is used to get or set the tab index of the Web server control. |
| TemplateControl | It is used to get or set a reference to the template that contains this control. |
| TemplateSourceDirectory | It is used to get the virtual directory of the Page or UserControl that contains the current server control. |
| Text | It is used to get or set the text caption displayed in the Button control. |
| ToolTip | It is used to get or set the text displayed when the mouse pointer hovers over the Web server control. |
| UniqueID | It is used to get the unique, hierarchically qualified identifier for the server control. |
| UseSubmitBehavior | It is used to get or set a value indicating whether the Button control uses the client browser’s submit mechanism or the ASP.NET postback mechanism. |
| ValidationGroup | It is used to get or set the group of controls for which the Button control causes validation when it posts back to the server. |
| Visible | It is used to get or set a value that indicates whether a server control is rendered as UI on the page. |
| Width | It is used to get or set the width of the Web server control. |
| Adapter | It is used to get the browser-specific adapter for the control. |
| ChildControlsCreated | It is used to get a value that indicates whether the server control’s child controls have been created. |
| ClientIDSeparator | It is used to get a character value representing the separator character used in the ClientID property. |
| Context | It is used to get the HttpContext object associated with the server control for the current Web request. |
| DesignMode | It is used to get a value indicating whether a control is being used on a design surface. |
| Events | It is used to get a list of event handler delegates for the control. This property is read-only. |
| HasChildViewState | It is used to get a value indicating whether the current server control’s child controls have any saved view-state settings. |
| IdSeparator | It is used to get the character used to separate control identifiers. |
| IsChildControlStateCleared | It is used to get a value indicating whether controls contained within this control have control state. |
| IsEnabled | It is used to get a value indicating whether the control is enabled. |
| IsTrackingViewState | It is used to get a value that indicates whether the server control is saving changes to its view state. |
| IsViewStateEnabled | It is used to get a value indicating whether view state is enabled for this control. |
| LoadViewStateByID | It is used to get a value indicating whether the control participates in loading its view state by ID instead of index. |
| TagKey | It is used to get the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. |
| TagName | It is used to get the name of the control tag. This property is used primarily by control developers. |
| ViewState | It is used to get a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. |
| ViewStateIgnoresCase | It is used to get a value that indicates whether the StateBag object is case-insensitive. |
- Click here to get free mcp MCP exam practice questions.
- Become Microsoft MCPD certified.
- Click here to get free mcpd-net-2-0-enterprise-developer MCPD .NET 2.0 Enterprise developer exam practice questions.
- Best exam simulation Microsoft mcpd-net-2-0-web-developer download free trial.
- Download free practice test for Microsoft MCPD .NET 2.0 Windows Developer exam.
- Download free practice test for Microsoft MCPD Enterprise Applications Developer exam.
- Click here to download mcpd-web-developer test study guide and practice question.
- Become Microsoft MCPD Windows Developer certified.
- Get certified in first attempt download mcts-net-2-0 - MCTS .NET 2.0 simulation.
- Download free practice test for Microsoft MCTS .NET Distributed exam.
- Best exam simulation Microsoft mcts-net-2-0-web-applications download free trial.
- Get certified in first attempt download mcts-net-2-0-windows-applications - MCTS .NET Windows simulation.
- Pass Microsoft mcts-microsoft-visual-studio-2008 - MCTS Microsoft Visual Studio 2008
- Become Microsoft C# .NET Framework Application Development Foundation certified.
- Become Microsoft VB .NET Framework Application Development Foundation certified.
- Click here to get free 70-552-CSHARP UPGRADE: MCAD to MCPD Windows Developer C#.NET exam practice questions.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.