ASP.NET

1. ASP.NET Introduction 2. Comp of .Net Framework 3.5 3. Sys.Req for VS 2008 4. ASP.NET Envrmnt Setup 5. VS2010 Ultimate Sys.Req 6. Installing VS 2010 7. VS 2012 Sys.Req 8. Installing VS Exp 2012 9. Start the VS 2008 10. Application Life Cycle 11. Page Life Cycle 12. Page Life Cycle Events 13. ASP.NET Example 14. Event Handling 15. Default Events 16. Server Side 17. Request Object 18. Response Object 19. Server Controls 20. Server Controls Properties 21. Server Controls Methods 22. HTML Server Controls 23. Client Side 24. ASP.NET Basic Controls 25. TextBox Control 26. CheckBox Controls 27. RadioButton Controls 28. ListBox Control 29. HyperLink Control 30. Image Control 31. BulletedList Control 32. ASP.NET Directives 33. Implements Directive 34. Master Type Directive 35. Page Directive 36. PreviousPage Type 37. Managing State 38. Control State 39. Cookies 40. Query Strings 41. Server-Side State 42. Session State 43. Validation Controls 44. Required FieldValidator 45. Range Validator 46. Compare Validator 47. RegularExpressionValidator 48. Custom Validator 49. Validation Summary 50. Data Source Control 51. AdRotator Control 52. Calendar Control 53. Calendar Control Example 54. Panel Control 55. Panel Control Example 56. Multi Views Control 57. MultiView & View controls 58. MultiView Control Example 59. FileUpload Control 60. FileUpload Control Eg 61. AJAX Control 62. UpdatePanel control 63. UpdateProgress Control 64. Custom Controls 65. Custom Control Eg 66. Personalization 67. Create Simple Profile 68. ADO.NET 69. ADO.NET Objects 70. DataTable 71. DataRow 72. DataColumn 73. Object Example 74. Error Handling 75. Tracing Errors 76. Debugger 77. Security 78. Authentication 79. Authorization 80. LINQ 81. LINQ Query Operators 82. LINQ Example 83. Caching 84. Data Caching 85. Output Caching 86. Object Caching 87. Web Services 88. Create Web Services Eg 89. Web & Machine.config 90. Settings Schema 91. ASP.NET Deployment 92. XCopy Deployment 93. Web Setup Project 94. ASP Interview Part 1 95. ASP Interview Part 2 96. ASP Interview Part 3 97. ASP Interview Part 4 98. ASP Interview Part 5 99. ASP Interview Part 6
Pr.Pg Next Pg

Properties of the Server Controls tutorials

  • ASP.Net server controls inherit all properties, events and methods of the WebControl and System.Web.UI.Control class.

  • The following table shows the inherited properties of server controls:

 

Properties

Description

AccessKey

Pressing this key with the Alt key moves focus to the control

Attributes

It's the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.

BackColor

Background color

BindingContainer

The control that contains this control's data binding

BorderColor

Border color

BorderStyle

Border style

BorderWidth

Border width

CausesValidation

Indicates if it causes validation

ChildControlCreated

It indicates whether the server control's child controls have been created.

ClientID

Control ID for HTML markup.

Context

The HttpContext object associated with the server control.

Controls

Collection of all controls contained within the control

ControlStyle

The style of the Web server control

CssClass

CSS class

DataItemContainer

Gets a reference to the naming container if the naming container implements IDataItemContainer

DataKeysContainer

Gets a reference to the naming container if the naming container implements IDataKeysControl

DesignMode

It indicates whether the control is being used on a design surface.

DisabledCssClass

Gets or sets the CSS class to apply to the rendered HTML element when the control is disabled.

Enabled

Indicates whether the control is grayed out

EnableTheming

Indicates whether theming applies to the control

EnableViewState

Indicates whether the view state of the control is maintained

Events

Gets a list of event handler delegates for the control

Font

Font

Forecolor

Foreground colour.

HasAttributes

Indicates whether the control has attributes set

HasChildViewState

indicates whether the current server control's child controls have any saved view-state settings.

Height

Height in pixels or %

ID

Identifier for the control

IsChildControlStateCleared

Indicates whether controls contained within this control have control state

IsEnabled

Gets a value indicating whether the control is enabled

IsTrackingViewState

It indicates whether the server control is saving changes to its view state.

IsViewStateEnabled

It indicates whether view state is enabled for this control.

 

LoadViewStateById

It indicates whether the control participates in loading its view state by ID instead of index.

Page

Page containing the control

Parent

Parent control

RenderingCompatibility

It specifies the ASP.NET version that rendered HTML will be compatible with.

Site

The container that hosts the current control when rendered on a design surface

SkinID

Gets or sets the skin to apply to the control.

Style

Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.

TabIndex

Gets or sets the tab index of the Web server control.

TagKey

Gets the HtmlTextWriterTag value that corresponds to this Web server control

TagName

Gets the name of the control tag

TemplateControl

The template that contains this control

TemplateSourceDirectory

Gets the virtual directory of the Page or control containing this control

ToolTip

Gets or sets the text displayed when the mouse pointer hovers over the Web server control.

UniqueID

Unique identifier

ViewState

Gets 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.

ViewStateIgnoreCase

It indicates whether the StateBag object is case-insensitive.

ViewStateMode

Gets or sets the view-state mode of this control.

Visible

It indicates whether a server control is visible.

Width

Gets or sets the width of the Web server control.


Pr.Pg border                                              Next Pg